Add sentry capture exception

This commit is contained in:
bkellam 2025-07-23 13:56:39 -07:00
parent 7932d23982
commit 78c07b814b

View file

@ -410,6 +410,7 @@ const getAISDKLanguageModelAndOptions = async (config: LanguageModel, orgId: num
const errorHandler = (error: unknown) => {
logger.error(error);
Sentry.captureException(error);
if (error == null) {
return 'unknown error';