WANG 5 年 前
コミット
8e4b65b2cd

+ 6 - 1
src/main/java/cn/com/qmth/examcloud/web/security/RpcInterceptor.java

@@ -119,7 +119,12 @@ public final class RpcInterceptor implements HandlerInterceptor {
 			return false;
 		}
 
-		AccessApp accessApp = resourceManager.getAccessApp(appIdLong);
+		AccessApp accessApp = null;
+		try {
+			accessApp = resourceManager.getAccessApp(appIdLong);
+		} catch (Exception e) {
+			LOG.error("fail to get App info. appId=" + appIdLong, e);
+		}
 		if (null == accessApp) {
 			// 401
 			response.setStatus(HttpStatus.UNAUTHORIZED.value());