log the task id as well when unable to parse settings

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2021-10-27 17:01:24 +02:00
parent d252c983b5
commit aeaa2fe3e6
@@ -197,9 +197,8 @@ export class TaskWorker {
return { result: 'ready', settings };
} catch (e) {
this.logger.info(
'No longer able to parse task settings; aborting and assuming that a ' +
'newer version of the task has been issued and being handled by ' +
`other workers, ${e}`,
`Task "${this.taskId}" is no longer able to parse task settings; aborting and assuming that a ` +
`newer version of the task has been issued and being handled by other workers, ${e}`,
);
return { result: 'abort' };
}