Show some ❤️ to Node.js process errors
multipleResolves
has been deprecated by Node.js. Therefore, support for it has been removed.
level
or exitOn
option with a multipleResolves
parameter, you should remove it.log-process-errors/build/register
export has been removed. Please import log-process-errors
directly instead.testing
option value node-tap
has been renamed to node_tap
12.20.0
import
or import()
statement, not require()
. See this post for more information.exitOn()
option now defaults to ['uncaughtException', 'unhandledRejection']
on Node >= 15.0.0
. Its default
value is still ['uncaughtException']
on Node < 15.0.0
. This is to mimic Node.js default behavior: since Node 15.0.0
, processes exit on unhandled promises.