Skip to content

Commit

Permalink
separate name and message for API update (#16227)
Browse files Browse the repository at this point in the history
  • Loading branch information
amunger authored Nov 16, 2024
1 parent 32f3d0b commit 9c24994
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kernels/execution/cellExecutionMessageHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 9c24994

Please sign in to comment.