small fixes

This commit is contained in:
Marc Wäckerlin
2016-01-25 08:00:44 +00:00
parent ecd96901f4
commit 124774bf9e
2 changed files with 2 additions and 3 deletions

View File

@@ -228,7 +228,7 @@ module.exports = function(io) {
date: (new Date()).getTime(),
data: {}
};
if (err) {cb3(err); return}
if (err) {cb3(); console.log(err); return}
data.trim().split('\n').forEach(function(v, i) {
var vals = v.split(' ');
switch (vals.length) {