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
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
To be able to log error objects along with metadata and a description message, by following this format: const anErrorInstance = new Error('Storage read error'); logger.error({err: anErrorInstance, blockId: '1234', 'Failure when generating a new block'}`
This produces the following output:
Actual behavior
When trying to log error object along with metadata and a description message, errors are not being properly printed.
Steps to reproduce
Which version(s) does this affect? (Environment, OS, etc...)
development
The text was updated successfully, but these errors were encountered:
Expected behavior
To be able to log error objects along with metadata and a description message, by following this format:
const anErrorInstance = new Error('Storage read error');
logger.error({err: anErrorInstance, blockId: '1234', 'Failure when generating a new block'}`This produces the following output:
Actual behavior
When trying to log error object along with metadata and a description message, errors are not being properly printed.
Steps to reproduce
Which version(s) does this affect? (Environment, OS, etc...)
development
The text was updated successfully, but these errors were encountered: