From 39b5f57d4ebc64902e10876f668928c08192be48 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Wed, 3 Aug 2011 19:30:45 +0100 Subject: [PATCH] Let settings warnings output as warnings, not as an error --- node/utils/Settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/utils/Settings.js b/node/utils/Settings.js index 521a6b32..d78793b5 100644 --- a/node/utils/Settings.js +++ b/node/utils/Settings.js @@ -77,7 +77,7 @@ for(var i in settings) //test if the setting start with a low character if(i.charAt(0).search("[a-z]") !== 0) { - console.error("WARNING: Settings should start with a low character: '" + i + "'"); + console.warn("Settings should start with a low character: '" + i + "'"); } //we know this setting, so we overwrite it @@ -88,7 +88,7 @@ for(var i in settings) //this setting is unkown, output a warning and throw it away else { - console.error("WARNING: Unkown Setting: '" + i + "'"); - console.error("This setting doesn't exist or it was removed"); + console.warn("Unkown Setting: '" + i + "'"); + console.warn("This setting doesn't exist or it was removed"); } }