From 5427ec484497565c4a9448a15a658a1d65ec1ff5 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 17 Nov 2016 10:22:29 -0800 Subject: [PATCH] Negate code as per node docs --- lib/browser/rpc-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/browser/rpc-server.js b/lib/browser/rpc-server.js index c61329da9e5b..54868b21d7d2 100644 --- a/lib/browser/rpc-server.js +++ b/lib/browser/rpc-server.js @@ -142,7 +142,7 @@ const exceptionToMeta = function (error) { const throwRPCError = function (message) { const error = new Error(message) error.code = 'EBADRPC' - error.errno = 72 + error.errno = -72 throw error }