mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
airbrake: ignore 404s
This commit is contained in:
parent
8a398c3028
commit
5dafa17e36
1 changed files with 3 additions and 1 deletions
|
@ -199,4 +199,6 @@ Airbrake.add_filter do |notice|
|
|||
# Filter out password.
|
||||
notice[:params][:password] = '[Filtered]'
|
||||
end
|
||||
end
|
||||
|
||||
notice.ignore! if notice.stash[:exception].is_a?(Sinatra::NotFound)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue