reportError should use console.error
won.reportError = function(message) {
if (arguments.length == 1) {
return function(reason) {
- console.log(message, " reason: ", reason);
+ console.error(message, " reason: ", reason);
}
} else {
return function (reason) {
- console.log("Error! reason: ", reason);
+ console.error("Error! reason: ", reason);
}
}
}
