From 7ef8a6b3359cd74c1851b159f011c0c7448fd83b Mon Sep 17 00:00:00 2001 From: "Anosh D. Ullenius" Date: Tue, 19 Jul 2022 10:22:00 +0200 Subject: [PATCH] Remove console.log. Print errors to stderr --- gbsinfo.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gbsinfo.js b/gbsinfo.js index 1aca0e3..c4b787a 100644 --- a/gbsinfo.js +++ b/gbsinfo.js @@ -27,13 +27,11 @@ function readFile(input) { author : readChar(header.slice(48, 48+32)), copyright : readChar(header.slice(80, 80+32)) }; - console.log("timerModulo", gbsHeader.timerModulo); - console.log("timerControl", gbsHeader.timerControl); setTextarea( gbsHeader ); } ).catch( function handle(err) { - console.log(err); + console.error(err); }); }