From d8ebd212fdd7de838d75cd6e161daa23f66b61b0 Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 21 Jan 2021 13:42:44 +0000 Subject: [PATCH] Better outputting on website --- docs/web/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/web/index.js b/docs/web/index.js index c89eca2..10b6e08 100644 --- a/docs/web/index.js +++ b/docs/web/index.js @@ -21,7 +21,7 @@ var displayOutput = function(msg, colour = "black") { }; console.log = console.error = (msg, colour) => - displayOutput("Output: " + msg, "blue"); + displayOutput("Output: " + JSON.stringify(msg), "blue"); // ensure db doesn't break on loading corrupted data const engine = new BrowserEngine("db");