logs: use %o to format error
otherwise, they are printed as multi-line and this messes up tail+date formatting
This commit is contained in:
@@ -203,7 +203,7 @@ function startTask(id, options, callback) {
|
||||
|
||||
if (callback) callback(taskError, task ? task.result : null);
|
||||
|
||||
debug(`startTask: ${id} done. error:`, taskError);
|
||||
debug(`startTask: ${id} done. error: %o`, taskError);
|
||||
});
|
||||
|
||||
if (options.timeout) {
|
||||
|
||||
Reference in New Issue
Block a user