1
0
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:
Gastón Fournier 2025-07-29 11:35:13 +02:00
parent 8554eee37a
commit d06e189c54
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -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,
)}`,
);