lib/honeybadger/worker.rb in honeybadger-3.1.2 vs lib/honeybadger/worker.rb in honeybadger-3.2.0.beta1
- old
+ new
@@ -215,9 +215,11 @@
if throttle = del_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_interval, response.code) }
else
info { sprintf('Success ⚡ https://app.honeybadger.io/notice/%s id=%s code=%s', msg.id, msg.id, response.code) }
end
+ when :stubbed
+ info { sprintf('Success ⚡ Development mode is enabled; this error will be reported if it occurs after you deploy your app. id=%s', msg.id) }
when :error
warn { sprintf('Error report failed: an unknown error occurred. code=%s error=%s', response.code, response.message.to_s.dump) }
else
warn { sprintf('Error report failed: unknown response from server. code=%s', response.code) }
end