mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-13 13:48:59 +02:00
chore: better logging of failed tokens
This commit is contained in:
parent
8554eee37a
commit
d06e189c54
@ -171,7 +171,7 @@ export class ApiTokenService {
|
||||
stopCacheTimer();
|
||||
} else {
|
||||
this.logger.info(
|
||||
`Not allowed to query this token until: ${this.queryAfter.get(
|
||||
`Token ${secret.replace(/(.*\.....).*/, '$1...')} rate limited until: ${this.queryAfter.get(
|
||||
secret,
|
||||
)}`,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user