diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-06-20 09:47:27 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-06-20 09:47:27 +0100 |
commit | 6911d79f14386c0d30c5e4512746def39a6712be (patch) | |
tree | 0b254522869356ebd051efb29ce980ed1e2bd91b /lib | |
parent | 58de2af30d7fef731419ab643400f838ede27495 (diff) | |
parent | c100cb5aff5a958709aae77d03e6a4aea666a910 (diff) |
Merge branch 'release/0.6' into wdtk
Diffstat (limited to 'lib')
-rw-r--r-- | lib/quiet_opener.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/quiet_opener.rb b/lib/quiet_opener.rb index 2f78f76ad..f313b303c 100644 --- a/lib/quiet_opener.rb +++ b/lib/quiet_opener.rb @@ -24,12 +24,12 @@ def quietly_try_to_purge(host, url) } end rescue OpenURI::HTTPError, SocketError, Errno::ETIMEDOUT, Errno::ECONNREFUSED, Errno::EHOSTUNREACH - Rails.logger.warn("Unable to reach host #{host}") + Rails.logger.warn("PURGE: Unable to reach host #{host}") end if result == "200" - Rails.logger.info("Purged URL #{url} at #{host}: #{result}") + Rails.logger.info("PURGE: Purged URL #{url} at #{host}: #{result}") else - Rails.logger.warn("Unable to purge URL #{url} at #{host}: status #{result}") + Rails.logger.warn("PURGE: Unable to purge URL #{url} at #{host}: status #{result}") end return result end |