From 5052ecab7c7df0e0b51f66f5c9dd1f41a48b603c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 23 Sep 2013 12:36:53 +0100 Subject: [PATCH] Ignore exceptions from old sessions --- lib/session_persistence.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/session_persistence.rb b/lib/session_persistence.rb index 7d45d1fc4..578039f58 100644 --- a/lib/session_persistence.rb +++ b/lib/session_persistence.rb @@ -51,5 +51,7 @@ module SessionPersistence if session[session_persistence_key] request.session_options[:expire_after] = session[session_persistence_key] end + rescue + reset_session end end -- 2.39.5