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:
@@ -117,7 +117,7 @@ async function setup(domainConfig, sysinfoConfig, auditSource) {
|
||||
|
||||
safe(setupTask(domain, auditSource), { debug }); // now that args are validated run the task in the background
|
||||
} catch (error) {
|
||||
debug('setup: error', error);
|
||||
debug('setup: error. %o', error);
|
||||
gProvisionStatus.setup.active = false;
|
||||
gProvisionStatus.setup.errorMessage = error.message;
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user