mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 04:45:17 +00:00
use Log.error instead of console.log for error message, shows in output
This commit is contained in:
@@ -25,7 +25,7 @@ var Translator = (function () {
|
||||
fileinfo = JSON.parse(xhr.responseText);
|
||||
} catch (exception) {
|
||||
// nothing here, but don't die
|
||||
console.log(" loading json file failed =" + file);
|
||||
Log.error(" loading json file =" + file + " failed");
|
||||
}
|
||||
callback(fileinfo);
|
||||
}
|
||||
|
Reference in New Issue
Block a user