Update scrape.ts

This commit is contained in:
Nicolas 2024-07-30 12:42:12 -04:00
parent d1a3df6d08
commit fd2452ec9c

View File

@ -150,7 +150,7 @@ export async function scrapeController(req: Request, res: Response) {
} catch (error) { } catch (error) {
console.error(error); console.error(error);
earlyReturn = true; earlyReturn = true;
return res.status(402).json({ error: "Error checking team credits. Please contact hello@firecrawl.com for help." }); return res.status(500).json({ error: "Error checking team credits. Please contact hello@firecrawl.com for help." });
} }
}; };