mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05: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)
|