mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Improve lock logging
This commit is contained in:
@@ -92,7 +92,9 @@ export const identityUaServiceFactory = ({
|
|||||||
retryJitter: 100
|
retryJitter: 100
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.info(`login failed to acquire lock [lockoutKey=${LOCKOUT_KEY}]`);
|
logger.info(
|
||||||
|
`identity login failed to acquire lock [identityId=${identityUa.identityId}] [authMethod=${IdentityAuthMethod.UNIVERSAL_AUTH}]`
|
||||||
|
);
|
||||||
throw new RateLimitError({ message: "Rate limit exceeded" });
|
throw new RateLimitError({ message: "Rate limit exceeded" });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user