|
@@ -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());
|