fix: Builder debug logging is better now

fix: www and non-www domain checker
This commit is contained in:
Andras Bacsai
2022-02-17 23:42:23 +01:00
parent ca7f3da19d
commit 24a6bcbd1e
6 changed files with 45 additions and 24 deletions

View File

@@ -239,6 +239,8 @@ export default async function (job) {
if (stderr) console.log(stderr);
saveBuildLog({ line: 'Deployment successful!', buildId, applicationId });
} catch (error) {
saveBuildLog({ line: error, buildId, applicationId });
sentry.captureException(error);
throw new Error(error);
}
try {
@@ -257,6 +259,7 @@ export default async function (job) {
});
}
} catch (error) {
saveBuildLog({ line: error.stdout || error, buildId, applicationId });
sentry.captureException(error);
}
}