mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
add prefix to main errors when logged into renderer
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user