lib/flapjack/gateways/jsonapi.rb in flapjack-0.9.1 vs lib/flapjack/gateways/jsonapi.rb in flapjack-0.9.2

- old
+ new

@@ -96,9 +96,11 @@ end end set :dump_errors, false + set :protection, :except => :path_traversal + rescue_error = Proc.new {|status, exception, request_info, *msg| if !msg || msg.empty? trace = exception.backtrace.join("\n") msg = "#{exception.class} - #{exception.message}" msg_str = "#{msg}\n#{trace}"