disable unhandled error logging for now

This commit is contained in:
HorizonCode 2024-01-29 08:57:28 +01:00
parent 0b679d320f
commit 72d466b1ec

View File

@ -3,14 +3,14 @@ const { app, BrowserWindow, Menu, ipcMain, dialog, shell } = require(
"electron", "electron",
); );
const unhandled = require("electron-unhandled"); /* const unhandled = require("electron-unhandled");
unhandled({ unhandled({
logger: console.error, logger: console.error,
showDialog: true, showDialog: true,
reportButton: () => { reportButton: () => {
shell.openExternal("https://ez-pp.farm/discord"); shell.openExternal("https://ez-pp.farm/discord");
}, },
}); }); */
const path = require("path"); const path = require("path");
const serve = require("electron-serve"); const serve = require("electron-serve");