From: Carl Worth Date: Fri, 23 Dec 2022 19:49:29 +0000 (-0800) Subject: Make any code execution errors visible to the users X-Git-Url: https://git.cworth.org/git?p=zombocom-ai;a=commitdiff_plain;h=30a68209fbec7fc6a0b7aed1e9a5d277d9424e11 Make any code execution errors visible to the users By sending them to the clients and having them render it in red monospace with pre-wrapped whitespace. This should allow the players to debug things when they don't work. --- diff --git a/bus.html b/bus.html index 5760786..40e50d3 100644 --- a/bus.html +++ b/bus.html @@ -94,6 +94,11 @@ #output { width: 100%; } + #error { + font-family: monospace; + color: red; + white-space: pre-wrap; + } @@ -123,8 +128,10 @@ +
+
- +