catches throwable instead of Exception
This commit is contained in:
parent
a71108f4ea
commit
e876a4d9dd
|
@ -32,7 +32,7 @@ public class AuthorizationInterceptor implements Interceptor {
|
|||
logger.trace("uma token set");
|
||||
try {
|
||||
request.addHeader(user_header, getUserFromToken(accessToken) );
|
||||
}catch (Exception e) {
|
||||
}catch (Throwable e) {
|
||||
logger.warn("errror setting {} header", user_header );
|
||||
}
|
||||
} else logger.warn("uma token is not set");
|
||||
|
|
Loading…
Reference in New Issue