mirror of
https://github.com/discourse/discourse.git
synced 2025-04-25 05:44:30 +08:00
whitelist 404 pull hotlinked image
This commit is contained in:
parent
4296bee86e
commit
ffe06fbcb5
@ -28,7 +28,10 @@ if Rails.env.production?
|
||||
/^ActiveRecord::RecordNotFound /,
|
||||
|
||||
# bad asset requested, no need to log
|
||||
/^ActionController::BadRequest /
|
||||
/^ActionController::BadRequest /,
|
||||
|
||||
# hotlinked image error that is pointless
|
||||
/^Failed to pull hotlinked image.*404 Not Found/m
|
||||
]
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user