You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logger seems to have no problem outputting new Error but is unable to correctly output new TypeError
let typeError = new TypeError('test type error’); let error = new Error('non type error’); this.logger.error(typeError);
=>outputs {} this.logger.error(typeError.message);
=> outputs ’test type error' this.logger.error(error);
=> outputs Error: non type error\n at DefaultExecuteASTPipeline.process (/srv/package/dist/ast-pipelines/base-ast- pipeline.js:46:29)\n at \n at process._tickDomainCallback (internal/process/next_tick.js:229:7)
The text was updated successfully, but these errors were encountered:
The logger seems to have no problem outputting
new Error
but is unable to correctly outputnew TypeError
let typeError = new TypeError('test type error’);
let error = new Error('non type error’);
this.logger.error(typeError);
=>outputs {}
this.logger.error(typeError.message);
=> outputs ’test type error'
this.logger.error(error);
=> outputs Error: non type error\n at DefaultExecuteASTPipeline.process (/srv/package/dist/ast-pipelines/base-ast- pipeline.js:46:29)\n at \n at process._tickDomainCallback (internal/process/next_tick.js:229:7)
The text was updated successfully, but these errors were encountered: