mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
silence not found trace
This commit is contained in:
1 parent
a2598b30f7
commit
8d3f0b5b98
2 files changed
+13
-2
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user