add prefix to main errors when logged into renderer

This commit is contained in:
Benjamin Pasero
2021-02-17 07:30:18 +01:00
parent 90f5ef65a0
commit a36e9b3e09

View File

@@ -388,7 +388,7 @@ export class CodeApplication extends Disposable {
// take only the message and stack property
const friendlyError = {
message: err.message,
message: `[uncaught exception in main]: ${err.message}`,
stack: err.stack
};