Log stacktrace in debug

This commit is contained in:
Johan Haals
2021-01-19 10:24:28 +01:00
parent 3c75afde45
commit 4a3a9ff637
@@ -120,7 +120,7 @@ export class JobProcessor implements Processor {
// Log to the current stage the error that occurred and fail the stage.
stage.status = 'FAILED';
logger.error(`Stage failed with error: ${error.message}`);
logger.debug(error.stack);
// Throw the error so the job can be failed too.
throw error;
} finally {