Skip to content

Commit 3196f5f

Browse files
committed
separate name and message for API update
1 parent 32f3d0b commit 3196f5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/kernels/execution/cellExecutionMessageHandler.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,8 @@ export class CellExecutionMessageHandler implements IDisposable {
10781078
const cellExecution = CellExecutionCreator.get(this.cell);
10791079
if (cellExecution && msg.content.ename !== 'KeyboardInterrupt') {
10801080
cellExecution.errorInfo = {
1081-
message: `${msg.content.ename}: ${msg.content.evalue}`,
1081+
name: msg.content.ename,
1082+
message: msg.content.evalue,
10821083
location: findErrorLocation(msg.content.traceback, this.cell),
10831084
uri: this.cell.document.uri,
10841085
stack: msg.content.traceback.join('\n')

0 commit comments

Comments
 (0)