From 5e8ef4954e76890c0181d9c654654a225a0d12e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Fri, 27 Sep 2024 17:13:10 +0200 Subject: [PATCH] feat(auth): log cache key in acuc update error --- apps/api/src/controllers/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts index 13094470..fc98dc70 100644 --- a/apps/api/src/controllers/auth.ts +++ b/apps/api/src/controllers/auth.ts @@ -64,7 +64,7 @@ export async function setCachedACUC(api_key: string, acuc: AuthCreditUsageChunk await setValue(cacheKeyACUC, JSON.stringify(acuc), 600, true); }); } catch (error) { - Logger.error(`Error updating cached ACUC: ${error}`); + Logger.error(`Error updating cached ACUC ${cacheKeyACUC}: ${error}`); Sentry.captureException(error); } }