Skip to content

Commit

Permalink
print error
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Brichau committed Jan 27, 2024
1 parent 699d3b0 commit 3e14466
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ javascript
errorHandlerFunction

^ (JSStream on: 'document.getElementById("result").style.backgroundColor = "Red"'),
(JSStream on: 'document.getElementById("result").innerHTML = "<p>Error</p>"')
(JSStream on: 'document.getElementById("result").innerHTML = "<p>Error "+result.text()+"</p>"')
asFunction: #( 'result' )

0 comments on commit 3e14466

Please sign in to comment.