mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Negate code as per node docs
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user