fix(scaffolder): stringify error

This commit is contained in:
Ivan Shmidt
2020-06-25 00:15:58 +02:00
parent 85d1fbaf3c
commit bca0ebf3c9
@@ -104,7 +104,7 @@ export class JobProcessor implements Processor {
} catch (ex) {
job.error = ex;
job.status = 'FAILED';
logger.error(`job ${job.id} failed with reason`, { ex });
logger.error(`job ${job.id} failed with reason: ${ex}`);
}
}
}