Skip to content

Commit

Permalink
Log exceptions in js console.
Browse files Browse the repository at this point in the history
Signed-off-by: Terence Parr <[email protected]>
  • Loading branch information
parrt committed Jul 28, 2024
1 parent 534a295 commit 002dca2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/js/antlr-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ function processANTLRResults(response) {
}

if ( "exception_trace" in response.data ) {
console.log("EXCEPTION:"+response.data.exception_trace)
$("#tool_errors").html(`<span class="error">${response.data.exception_trace}<br></span>`);
$("#tool_errors").show();
$("#tool_errors_header").show();
Expand Down

0 comments on commit 002dca2

Please sign in to comment.