diff --git a/lib/sandboxed_renderer/init.js b/lib/sandboxed_renderer/init.js index 1acd43b3796d7..fe20f45c9e2bf 100644 --- a/lib/sandboxed_renderer/init.js +++ b/lib/sandboxed_renderer/init.js @@ -100,7 +100,7 @@ function preloadRequire (module) { if (remoteModules.has(module)) { return require(module) } - throw new Error('module not found') + throw new Error(`module not found: ${module}`) } switch (window.location.protocol) {