mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:42:02 +08:00
Don't log 404s for FinalDestination
.
* We can't do anything about 404s
This commit is contained in:
parent
58fbe74b6f
commit
d43895e2a0
|
@ -283,8 +283,7 @@ class FinalDestination
|
|||
end
|
||||
|
||||
def log(log_level, message)
|
||||
# blacklist 404 on gravatar.com
|
||||
return if @status_code == 404 && @uri.hostname["gravatar.com"]
|
||||
return if @status_code == 404
|
||||
|
||||
Rails.logger.public_send(
|
||||
log_level,
|
||||
|
|
Loading…
Reference in New Issue
Block a user