Commit 3b616796 authored by priit's avatar priit
Browse files

Utiliidi töö katkestamine

parent 3831dc75
...@@ -74,7 +74,7 @@ function ArchiveExtractor() { ...@@ -74,7 +74,7 @@ function ArchiveExtractor() {
mkdirp(directory, function(err) { mkdirp(directory, function(err) {
if (err) { if (err) {
// log err logger.error(err);
session.setErrors(err); session.setErrors(err);
return callback(err, session); return callback(err, session);
} }
...@@ -95,6 +95,9 @@ function ArchiveExtractor() { ...@@ -95,6 +95,9 @@ function ArchiveExtractor() {
checkForCallback(); checkForCallback();
}); });
} else { } else {
logger.debug('Not file and not text or binary on count: ' + count);
count = count - 1;
checkForCallback();
entry.autodrain(); 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