mirror of
https://github.com/docusealco/docuseal.git
synced 2026-06-23 04:10:11 +00:00
12 lines
204 B
Ruby
12 lines
204 B
Ruby
# frozen_string_literal: true
|
|
|
|
module SilenceErrors
|
|
def log_error(request, wrapper)
|
|
return if wrapper.status_code == 404
|
|
|
|
super
|
|
end
|
|
end
|
|
|
|
ActionDispatch::DebugExceptions.prepend(SilenceErrors)
|