Permalink
Browse files

dump errors when keep_dumps is 0

  • Loading branch information...
1 parent 0a809ac commit 00463414a3bc8b1eb9378d27fc2f08fd01d52b46 @mkristian committed Jun 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ixtlan/errors/rack.rb
@@ -45,10 +45,10 @@ class Rack
DEFAULT_MAP[ 404 ] << ::ActiveRecord::RecordNotFound
end
- def initialize(app, dumper, dump_to_console = false, map = {} )
+ def initialize(app, dumper, map = {} )
@app = app
@dumper = dumper
- @dump_to_console = dump_to_console
+ @dump_to_console = dumper.keep_dumps == 0
@map = {}
DEFAULT_MAP.each do |status, list|
list.each { |exp| @map[ exp ] = status }

0 comments on commit 0046341

Please sign in to comment.