Fix rescue in EdgeCache::Bust (#13303)
We were trying to report an exception to Honeybadger but we never actually captured the exception.
This commit is contained in:
parent
a842247900
commit
afa3178b79
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ module EdgeCache
|
|||
response = http.get(uri.request_uri)
|
||||
|
||||
return true if response.is_a?(Net::HTTPSuccess)
|
||||
rescue StandardError
|
||||
rescue StandardError => e
|
||||
# If we can't connect to OpenResty, alert ourselves that it is
|
||||
# unavailable and return false.
|
||||
Rails.logger.error("Could not connect to OpenResty via #{ApplicationConfig['OPENRESTY_URL']}!")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue