mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +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…
Reference in New Issue
Block a user