ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE
无法调用 process.setUncaughtExceptionCaptureCallback()
,因为 node:domain
模块已在较早的时间点加载。
堆栈跟踪扩展到包括加载 node:domain
模块的时间点。
process.setUncaughtExceptionCaptureCallback()
could not be called
because the node:domain
module has been loaded at an earlier point in time.
The stack trace is extended to include the point in time at which the
node:domain
module had been loaded.