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");