fix: Exception统一包装至AuthException去除。
This commit is contained in:
parent
0639aec58d
commit
5a0583a054
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user