mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-13 07:29:00 +08:00
feat(api): add more captureExceptions
This commit is contained in:
parent
0e8fd6ce70
commit
5ca36fe9fc
@ -119,6 +119,7 @@ if (cluster.isMaster) {
|
||||
waitingJobs,
|
||||
});
|
||||
} catch (error) {
|
||||
Sentry.captureException(error);
|
||||
Logger.error(error);
|
||||
return res.status(500).json({ error: error.message });
|
||||
}
|
||||
@ -170,6 +171,7 @@ if (cluster.isMaster) {
|
||||
}, timeout);
|
||||
}
|
||||
} catch (error) {
|
||||
Sentry.captureException(error);
|
||||
Logger.debug(error);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user