@interncom/diplomatic 0.0.72 → 0.0.73
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.
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11631,7 +11631,10 @@ var DiplomaticClient = class {
|
|
|
11631
11631
|
this.emitXferUpdate();
|
|
11632
11632
|
} catch (err) {
|
|
11633
11633
|
console.error("Processing download", err, item);
|
|
11634
|
-
|
|
11634
|
+
let transient = true;
|
|
11635
|
+
if (err instanceof Error && err.message === "wrong secret key for the given ciphertext") {
|
|
11636
|
+
transient = false;
|
|
11637
|
+
}
|
|
11635
11638
|
if (!transient) {
|
|
11636
11639
|
await this.store.dequeueDownload(item.sha256);
|
|
11637
11640
|
this.emitXferUpdate();
|