@electron/remote
Advanced tools
Comparing version 2.0.5 to 2.0.7
@@ -443,3 +443,4 @@ "use strict"; | ||
catch (error) { | ||
const err = new Error(`Could not call remote function '${func.name || 'anonymous'}'. Check that the function signature is correct. Underlying error: ${error.message}\nUnderlying stack: ${error.stack}\n`); | ||
const err = new Error(`Could not call remote function '${func.name || "anonymous"}'. Check that the function signature is correct. Underlying error: ${error}\n` + | ||
(error instanceof Error ? `Underlying stack: ${error.stack}\n` : "")); | ||
err.cause = error; | ||
@@ -467,3 +468,4 @@ throw err; | ||
catch (error) { | ||
const err = new Error(`Could not call remote method '${method}'. Check that the method signature is correct. Underlying error: ${error.message}\nUnderlying stack: ${error.stack}\n`); | ||
const err = new Error(`Could not call remote method '${method}'. Check that the method signature is correct. Underlying error: ${error}` + | ||
(error instanceof Error ? `Underlying stack: ${error.stack}\n` : "")); | ||
err.cause = error; | ||
@@ -470,0 +472,0 @@ throw err; |
{ | ||
"name": "@electron/remote", | ||
"version": "2.0.5", | ||
"version": "2.0.7", | ||
"main": "renderer/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70470
28
1411