lib/flail/exception.rb in flail-0.0.5 vs lib/flail/exception.rb in flail-0.0.6
- old
+ new
@@ -41,10 +41,10 @@
def extract
@extract ||= begin
info = {}
# rack env
- info[:rack] = @env.except('flail.request', 'flail.request.data')
+ info[:rack] = @env.except('flail.request', 'flail.request.data', 'rack.errors', 'rack.input')
info[:class_name] = @exception.class.to_s # @exception class
info[:message] = @exception.to_s # error message
info[:trace] = @exception.backtrace # backtrace of error
info[:target_url] = request_data[:target_url] # url of request
info[:referer_url] = request_data[:referer_url] # referer