Improve handling of abiword errors

This commit is contained in:
Peter 'Pita' Martischka 2011-07-24 20:53:28 +01:00
parent 8138c7d15e
commit 358046fd5b
2 changed files with 5 additions and 6 deletions

View file

@ -109,9 +109,9 @@ exports.doImport = function(req, res, padId)
}
], function(err)
{
if(err) throw err;
//close the connection
res.send("ok");
if(err) throw err;
});
}