use Log.error instead of console.log for error message, shows in output

This commit is contained in:
Sam Detweiler 2020-10-05 10:45:07 -05:00
parent 8fa96c2836
commit 69efca0bdb

View File

@ -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);
}