lib/honeybadger/worker.rb in honeybadger-5.2.1 vs lib/honeybadger/worker.rb in honeybadger-5.3.0
- old
+ new
@@ -221,9 +221,11 @@
warn { sprintf('Error report failed: payment is required. id=%s code=%s', msg.id, response.code) }
suspend(3600)
when 403
warn { sprintf('Error report failed: API key is invalid. id=%s code=%s', msg.id, response.code) }
suspend(3600)
+ when 413
+ warn { sprintf('Error report failed: Payload is too large. id=%s code=%s', msg.id, response.code) }
when 201
if throttle = dec_throttle
info { sprintf('Success ⚡ https://app.honeybadger.io/notice/%s id=%s code=%s throttle=%s interval=%s', msg.id, msg.id, response.code, throttle, throttle_interval) }
else
info { sprintf('Success ⚡ https://app.honeybadger.io/notice/%s id=%s code=%s', msg.id, msg.id, response.code) }