diff --git a/lib/raven/client.rb b/lib/raven/client.rb index 2acb5205b..12ce8c43d 100644 --- a/lib/raven/client.rb +++ b/lib/raven/client.rb @@ -100,8 +100,8 @@ def successful_send end def failed_send(e, event) - @state.failure if e # exception was raised + @state.failure configuration.logger.warn "Unable to record event with remote Sentry server (#{e.class} - #{e.message}):\n#{e.backtrace[0..10].join("\n")}" else configuration.logger.warn "Not sending event due to previous failure(s)."