Skip to content

Commit f4044ed

Browse files
committed
Send settings file on crash
1 parent cff2157 commit f4044ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ process.on("uncaughtException", async (error) => {
2828
os: `${os.type()} ${os.arch()} ${os.release()}`,
2929
stack: stack.clean(error.stack),
3030
lang: app.getLocaleCountryCode(),
31+
settings: fs.readFileSync(path.join(folder_path, "settings", "settings.json"), "utf-8"),
3132
date: new Date(),
3233
})
3334
} catch (error) {

0 commit comments

Comments
 (0)