mirror of
https://github.com/neocities/neocities.git
synced 2025-08-13 12:59:27 +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.
|
# Filter out password.
|
||||||
notice[:params][:password] = '[Filtered]'
|
notice[:params][:password] = '[Filtered]'
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
notice.ignore! if notice.stash[:exception].is_a?(Sinatra::NotFound)
|
||||||
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue