mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 15:20:53 +08:00
feat(auth): log cache key in acuc update error
This commit is contained in:
parent
e98f858eb6
commit
5e8ef4954e
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user