ixtlan-error-handler 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ixtlan/errors/rack.rb +2 -4
  2. metadata +2 -2
@@ -74,13 +74,11 @@ module Ixtlan
74
74
  if dump_to_console
75
75
  # dump to console and raise exception to let rack create
76
76
  # an error page
77
- warn "\t" + e.backtrace.join( "\n\t" ) if e.backtrace && status >= 500
78
- raise e
79
- else
77
+ warn "\t" + e.backtrace.join( "\n\t" ) if e.backtrace && status >= 500
78
+ end
80
79
  [ status,
81
80
  {'Content-Type' => 'text/plain'},
82
81
  [ ::Rack::Utils::HTTP_STATUS_CODES[ status ] ] ]
83
- end
84
82
  end
85
83
  end
86
84
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ixtlan-error-handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-25 00:00:00.000000000 Z
12
+ date: 2013-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: slf4r