fix: Exception统一包装至AuthException去除。

This commit is contained in:
TanJ 2022-06-21 15:55:47 +08:00
parent 0639aec58d
commit 5a0583a054

View File

@ -97,11 +97,7 @@ public class ContextInfoBuilderAspect {
ContextInfoHolder.set(contextInfo);
Object[] args = parseContextInfoAndReturnArgs(httpRequest, pjp, contextInfo);
return pjp.proceed(args);
} catch (AuthException e) {
throw e;
} catch (Exception e) {
throw new AuthException(e.getMessage(), e);
} finally {
}finally {
ContextInfoHolder.clear();
}
}