mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-08 23:32:36 -05:00
catch bad stack
This commit is contained in:
@@ -152,7 +152,7 @@ export class ChannelServer implements IChannelServer, IDisposable {
|
||||
id, data: {
|
||||
message: data.message,
|
||||
name: data.name,
|
||||
stack: data.stack ? data.stack.split('\n') : void 0
|
||||
stack: data.stack ? (data.stack.split ? data.stack.split('\n') : data.stack) : void 0
|
||||
}, type: MessageType.ResponseError
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user