Recover on failed session load.
This commit is contained in:
parent
1fa63d8452
commit
661f02de17
@ -177,7 +177,7 @@ public class SessionManager {
|
||||
try {
|
||||
session = store.load(getKey(sessionKey));
|
||||
session.postLoad();
|
||||
} catch (IOException e) {
|
||||
} catch (Throwable e) {
|
||||
log.log(Level.WARNING, "Failed to load saved session", e);
|
||||
session = new LocalSession();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user