mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-10 14:04:35 -04:00
whitelist 404 pull hotlinked image
This commit is contained in:
parent
4296bee86e
commit
ffe06fbcb5
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue