1. conanca
  2. nutzdemo-shiro

Commits

conanca  committed 805184f

处理登出时的异常

  • Participants
  • Parent commits 767b6a3
  • Branches default

Comments (0)

Files changed (1)

File src/main/java/com/dolplay/nutzshiro/filter/LogoutFilter.java

View file
  • Ignore whitespace
 				currentUser.logout();
 			} catch (SessionException ise) {
 				logger.debug("Encountered session exception during logout.  This can generally safely be ignored.", ise);
+				return null;
+			}catch(Exception e){
+				logger.debug("登出发生错误",e);
+				return null;
 			}
 		}