diff --git a/app/controllers/active_storage/disk_controller_decorator.rb b/app/controllers/active_storage/disk_controller_decorator.rb index 26819b45..21c0ed33 100644 --- a/app/controllers/active_storage/disk_controller_decorator.rb +++ b/app/controllers/active_storage/disk_controller_decorator.rb @@ -72,6 +72,9 @@ module ActiveStorage def page_not_found(exception) head :not_found + + params.permit! + ExceptionNotifier.notify_exception(exception, data: { params: params.to_hash }) end end