catches throwable instead of Exception

This commit is contained in:
Lucio Lelii 2022-08-01 16:34:27 +02:00
parent a71108f4ea
commit e876a4d9dd
1 changed files with 1 additions and 1 deletions

View File

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