mirror of
https://github.com/firecrawl/firecrawl.git
synced 2026-03-13 08:21:20 +08:00
Update apps/api/src/scraper/scrapeURL/engines/wikipedia/index.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -90,7 +90,9 @@ async function getAccessToken(
|
||||
|
||||
function clearCachedToken(logger: Meta["logger"]): void {
|
||||
try {
|
||||
getRedisConnection().del(REDIS_TOKEN_KEY).catch(() => {});
|
||||
getRedisConnection().del(REDIS_TOKEN_KEY).catch((error) => {
|
||||
logger.warn("Failed to clear Wikipedia token from Redis", { error });
|
||||
});
|
||||
} catch {
|
||||
logger.warn("Failed to clear Wikipedia token from Redis");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user