From 4acac574e4d01be82d7739a4e50f0b627b126364 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Wed, 22 Jun 2022 22:48:08 +0100
Subject: [PATCH] feat: better messages

---
 examples/web/index.ts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/web/index.ts b/examples/web/index.ts
index 1ed3e5a..f4a375a 100644
--- a/examples/web/index.ts
+++ b/examples/web/index.ts
@@ -157,9 +157,9 @@ const main = async () => {
             const isPanic = err.message === "unreachable";
             if (isPanic) {
                 await wasm();
-                await start({});
-                clearCanvas(PIXEL_ERROR_COLOR);
-                message = "Unrecoverable error, executing low level";
+                await start();
+                clearCanvas();
+                message = "Unrecoverable error, restarting CHIP-8";
             }
 
             // pauses the machine, allowing the end-user to act
-- 
GitLab