Skip to content

Commit 0b6f9df

Browse files
authored
1 parent 1fe501f commit 0b6f9df

File tree

1 file changed

+1
-1
lines changed
  • src/vs/base/parts/ipc/common

1 file changed

+1
-1
lines changed

src/vs/base/parts/ipc/common/ipc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ export class ChannelClient implements IChannelClient, IDisposable {
556556
case ResponseType.PromiseError: {
557557
this.handlers.delete(id);
558558
const error = new Error(response.data.message);
559-
(<any>error).stack = response.data.stack;
559+
(<any>error).stack = Array.isArray(response.data.stack) ? response.data.stack.join('\n') : response.data.stack;
560560
error.name = response.data.name;
561561
e(error);
562562
break;

0 commit comments

Comments
 (0)