Skip to content

Commit

Permalink
Better outputting on website
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom committed Jan 21, 2021
1 parent c4926d0 commit d8ebd21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit d8ebd21

Please sign in to comment.