Skip to content

Commit

Permalink
refs #7 : modify - remove exception handling routine (was in V1)
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Feb 28, 2017
1 parent a757847 commit f3be5cc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/live-code-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,6 @@ export class LiveCodeRunner {
}
}
}
if (json.result.exceptions && (json.result.exceptions.length > 0)) {
let errBuffer = '';
for (let exception of Array.from(json.result.exceptions)) {
errBuffer = errBuffer + exception[0] + '(' + exception[1].join(', ') + ')';
}
this.LiveCodeRunnerView.setErrorMessage(errBuffer);
}
if (htmlOutput != '') {
this.LiveCodeRunnerView.addHtmlContent(htmlOutput);
this.LiveCodeRunnerView.showResultPanel();
Expand Down

0 comments on commit f3be5cc

Please sign in to comment.