fix log only errors

This commit is contained in:
Fede Ramirez
2015-03-23 05:26:04 -03:00
parent d9d4471678
commit 6b0ae259b3
+1
View File
@@ -40,6 +40,7 @@ program
*/
var error = function(msg){
if(!program.onlyErrors)
log.error(msg);
if(Array.isArray(msg)) {