Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 955dea7

Browse files
Merge pull request #1124 from tmedetbekov/uncaught-exception
Correctly log uncaught exception error message
2 parents 480c5f6 + 8dfeb82 commit 955dea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/electron.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const onOpenUrl = async (event, url) => {
249249
app.on('open-url', onOpenUrl);
250250

251251
process.on('uncaughtException', error => {
252-
Logger.error('Caught Main Process Error:', error);
252+
Logger.error(`Caught Main Process Error: ${error}`);
253253
});
254254

255255
// Create the Application's main menu

0 commit comments

Comments
 (0)