lib/global_session/session/v1.rb in global_session-3.0.1 vs lib/global_session/session/v1.rb in global_session-3.0.2

- old
+ new

@@ -218,10 +218,10 @@ begin zbin = GlobalSession::Encoding::Base64Cookie.load(cookie) json = Zlib::Inflate.inflate(zbin) hash = GlobalSession::Encoding::JSON.load(json) rescue Exception => e - mc = GlobalSession::MalformedCookie.new("Caused by #{e.class.name}: #{e.message}") + mc = GlobalSession::MalformedCookie.new("Caused by #{e.class.name}: #{e.message}", cookie) mc.set_backtrace(e.backtrace) raise mc end id = hash['id']