mirror of https://github.com/docusealco/docuseal
parent
a2598b30f7
commit
8d3f0b5b98
@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module SilenceErrors
|
||||
def log_error(request, wrapper)
|
||||
return if wrapper.status_code == 404
|
||||
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
ActionDispatch::DebugExceptions.prepend(SilenceErrors)
|
||||
Loading…
Reference in new issue