mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
use Log.error instead of console.log for error message, shows in output
This commit is contained in:
parent
8fa96c2836
commit
69efca0bdb
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user