Commit 3b616796 authored by priit's avatar priit

Utiliidi töö katkestamine

parent 3831dc75
......@@ -74,7 +74,7 @@ function ArchiveExtractor() {
mkdirp(directory, function(err) {
if (err) {
// log err
logger.error(err);
session.setErrors(err);
return callback(err, session);
}
......@@ -95,6 +95,9 @@ function ArchiveExtractor() {
checkForCallback();
});
} else {
logger.debug('Not file and not text or binary on count: ' + count);
count = count - 1;
checkForCallback();
entry.autodrain();
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment