wiki
wiki copied to clipboard
Enhance error Logging
This will enhance the logging of error messages in catch blocks (the javascript Error object).
Due to a problem on wiston, when logging an error object, the winston just prints the messages, and all important details (like error line, etc,) is hidden. Details: https://github.com/winstonjs/winston/issues/1338
For example, if I'm developing a module or something fails with an Error, this is what is printed in the wiki.js log:

After this fix, the error is printed with more info:
