fix: Sentry

This commit is contained in:
Andras Bacsai
2022-05-06 15:40:07 +02:00
parent fa5f439858
commit 6a6426fe6b
4 changed files with 66 additions and 67 deletions

View File

@@ -328,7 +328,7 @@ export default async function (job: Job<BuilderJob, void, string>): Promise<void
await saveBuildLog({ line: 'Deployment successful!', buildId, applicationId });
} catch (error) {
await saveBuildLog({ line: error, buildId, applicationId });
sentry.captureException(error);
// sentry.captureException(error);
throw new Error(error);
}
await saveBuildLog({ line: 'Proxy will be updated shortly.', buildId, applicationId });