feat(auth): log cache key in acuc update error

This commit is contained in:
Gergő Móricz 2024-09-27 17:13:10 +02:00
parent e98f858eb6
commit 5e8ef4954e

View File

@ -64,7 +64,7 @@ export async function setCachedACUC(api_key: string, acuc: AuthCreditUsageChunk
await setValue(cacheKeyACUC, JSON.stringify(acuc), 600, true); await setValue(cacheKeyACUC, JSON.stringify(acuc), 600, true);
}); });
} catch (error) { } catch (error) {
Logger.error(`Error updating cached ACUC: ${error}`); Logger.error(`Error updating cached ACUC ${cacheKeyACUC}: ${error}`);
Sentry.captureException(error); Sentry.captureException(error);
} }
} }