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 ba9d963 commit e6f03daCopy full SHA for e6f03da
main.js
@@ -188,3 +188,11 @@ app.on('ready', function() {
188
else{
189
const pathToServe = path.resolve(Mounts[host],p);
190
return net.fetch(pathToFileURL(pathToServe).toString());}});});
191
+
192
+//process.removeAllListeners("uncaughtExceptions");
193
+process.on("uncaughtException", (err) => {
194
+ if(err.message === "Invalid webContents. Created window should be connected to webContents passed with options object.")
195
+ return;
196
+ dialog.showMessageBoxSync({type: "error",
197
+ title: "Error in Electron main process",
198
+ message: err.stack});})
0 commit comments