错误代码门户
Node.jsNode.js错误代码

ERR_UNCAUGHT_EXCEPTION_CAPTURE_ALREADY_SET

uncaught exception capture already set

代码 ERR_UNCAUGHT_EXCEPTION_CAPTURE_ALREADY_SET · Node.js 报告的问题。

process.setUncaughtExceptionCaptureCallback() 被调用了两次,而没有首先将回调重置为 null。 此错误旨在防止意外覆盖从另一个模块注册的回调。

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

process.setUncaughtExceptionCaptureCallback() was called twice, without first resetting the callback to null. This error is designed to prevent accidentally overwriting a callback registered from another module.

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。