StarpTech
released this
11 Aug 09:42
·
51 commits
to master
since this release
- Upgrade to Pino 5 logger. https://github.com/pinojs/pino/releases/tag/v5.0.0
- Don't check custom logger instance with Joi because it produces side-effects and causes an error. #221
- Don't handle errors as success payload in case of the wrong usage of promises or Error-First-Callback:
Promise.reject('success')
cb('success', null)
Breaking changes
- PrettyLog is disabled by default. You have to install
pino-pretty
in order to archive the same result. More informations here - Only native error objects can be responded. In case of an invalid error, the server will log an error and the client will timeout.