whitelist 404 pull hotlinked image

This commit is contained in:
Sam 2015-08-18 16:46:01 +10:00
parent 4296bee86e
commit ffe06fbcb5
1 changed files with 4 additions and 1 deletions

View File

@ -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