Report command errors through $tw.utils.error

So that we get the new colourisation
This commit is contained in:
Jermolene 2014-10-21 19:31:50 +01:00
parent e62e38d66c
commit b052e8f50b
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ exports.startup = function(callback) {
$tw.boot.argv,
function(err) {
if(err) {
console.log("Error: " + err);
return $tw.utils.error("Error: " + err);
}
callback();
},