We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 058e882 commit 6c375e1Copy full SHA for 6c375e1
lib/internal/debugger/inspect_client.js
@@ -40,8 +40,8 @@ const kMaskingKeyWidthInBytes = 4;
40
// https://tools.ietf.org/html/rfc6455#section-1.3
41
const WEBSOCKET_HANDSHAKE_GUID = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11';
42
43
-function unpackError({ code, message, data }) {
44
- const err = new ERR_DEBUGGER_ERROR(`${message} - ${data}`);
+function unpackError({ code, message }) {
+ const err = new ERR_DEBUGGER_ERROR(`${message}`);
45
err.code = code;
46
ErrorCaptureStackTrace(err, unpackError);
47
return err;
0 commit comments