diff --git a/src/lib/seedbox/Seedbox.js b/src/lib/seedbox/Seedbox.js index ed519ce..d27fb08 100644 --- a/src/lib/seedbox/Seedbox.js +++ b/src/lib/seedbox/Seedbox.js @@ -46,7 +46,14 @@ export default class Seedbox { while (toIndex.length > 0) { let current = toIndex.pop(); - const entries = await this.storageDriver.list(current); + let entries; + + try { + entries = await this.storageDriver.list(current); + } catch (e) { + console.log(`Failed to list files from remote: ${this.name}`, e); + continue; + } for (const entry of entries) { switch (entry.type) {