diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb index 7b15a8b8dc..f7173fbca3 100644 --- a/app/controllers/errors_controller.rb +++ b/app/controllers/errors_controller.rb @@ -4,6 +4,11 @@ class ErrorsController < ApplicationController layout "errors" def not_found + Bugsnag.notify("404") do |event| + event.severity = "info" + + event.add_metadata(:request, request.env) + end render status: :not_found end