@nger/fk-upload 1.0.126 → 1.0.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -62,6 +62,7 @@ class UploadTask extends rabbitmq_1.Task {
|
|
62
62
|
await manager.send(effectTask);
|
63
63
|
await complete();
|
64
64
|
}).catch(async (e) => {
|
65
|
+
console.log(`upload error ${this.errorCount}`, e.message);
|
65
66
|
if (e.message === 'to big') {
|
66
67
|
return complete();
|
67
68
|
}
|
@@ -69,7 +70,6 @@ class UploadTask extends rabbitmq_1.Task {
|
|
69
70
|
this.errorCount = 0;
|
70
71
|
}
|
71
72
|
this.errorCount += 1;
|
72
|
-
console.log(`upload error ${this.errorCount}`, e.message);
|
73
73
|
throw e;
|
74
74
|
});
|
75
75
|
}
|