lib/flail/exception.rb in flail-1.0.0 vs lib/flail/exception.rb in flail-1.0.1
- old
+ new
@@ -97,10 +97,10 @@
def extract
@extract ||= begin
info = {}
# rack env
- info[:rack] = clean_unserializable_data(clean_rack_env(@env))
+ info[:rack] = clean_unserializable_data(clean_rack_env(@env.dup))
info[:class_name] = @exception.class.name # @exception class
info[:message] = @exception.to_s # error message
info[:target_url] = request_data[:target_url] # url of request
info[:referer_url] = request_data[:referer_url] # referer