Logger is not passed required parameter
We should either not log the token and remove %s or log the token. Original pull request: gh-599.
This commit is contained in:
committed by
Mark Paluch
parent
9111891372
commit
785eeef846
@@ -177,7 +177,7 @@ public class LifecycleAwareSessionManager extends LifecycleAwareSessionManagerSu
|
||||
dispatch(new AfterLoginTokenRevocationEvent(token));
|
||||
}
|
||||
catch (RuntimeException e) {
|
||||
this.logger.warn("Cannot revoke VaultToken: %s", e);
|
||||
this.logger.warn(String.format("Cannot revoke VaultToken: %s", token.getToken()), e);
|
||||
dispatch(new LoginTokenRevocationFailedEvent(token, e));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user