saddle 0.0.30 → 0.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,10 +21,14 @@ module Saddle
21
21
  @app.call(env)
22
22
  rescue => e
23
23
  # If we don't have an api key, use the default config
24
- if @airbrake_api_key
25
- ::Airbrake.notify(e, {:api_key => @airbrake_api_key} )
26
- else
27
- ::Airbrake.notify(e)
24
+ begin
25
+ if @airbrake_api_key
26
+ ::Airbrake.notify(e, {:api_key => @airbrake_api_key} )
27
+ else
28
+ ::Airbrake.notify(e)
29
+ end
30
+ rescue
31
+ # Never ever fail because we couldn't talk to Airbrake
28
32
  end
29
33
  # Re-raise the error
30
34
  raise
@@ -1,3 +1,3 @@
1
1
  module Saddle
2
- VERSION = '0.0.30'
2
+ VERSION = '0.0.31'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saddle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.30
4
+ version: 0.0.31
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: