diff --git a/src/kernels/execution/cellExecutionMessageHandler.ts b/src/kernels/execution/cellExecutionMessageHandler.ts index a110728f1e4..785bf3d9e1a 100644 --- a/src/kernels/execution/cellExecutionMessageHandler.ts +++ b/src/kernels/execution/cellExecutionMessageHandler.ts @@ -1078,7 +1078,8 @@ export class CellExecutionMessageHandler implements IDisposable { const cellExecution = CellExecutionCreator.get(this.cell); if (cellExecution && msg.content.ename !== 'KeyboardInterrupt') { cellExecution.errorInfo = { - message: `${msg.content.ename}: ${msg.content.evalue}`, + name: msg.content.ename, + message: msg.content.evalue, location: findErrorLocation(msg.content.traceback, this.cell), uri: this.cell.document.uri, stack: msg.content.traceback.join('\n')