diff --git a/src/components/pages/NodeFilesPage.vue b/src/components/pages/NodeFilesPage.vue index daba4fd..fe42ea5 100644 --- a/src/components/pages/NodeFilesPage.vue +++ b/src/components/pages/NodeFilesPage.vue @@ -233,7 +233,7 @@ export default { try { await FileTransferrer.offerFileTransfer(this.nodeId, file); } catch(e) { - DialogUtils.showErrorAlert(e); + console.log(e); } }, diff --git a/src/js/FileTransferrer.js b/src/js/FileTransferrer.js index fc760a8..ea78a8f 100644 --- a/src/js/FileTransferrer.js +++ b/src/js/FileTransferrer.js @@ -57,17 +57,8 @@ class FileTransferrer { } catch(e) { console.log(e); if(attempt === this.MAX_PACKET_ATTEMPTS){ - this.log("offerFileTransfer failed", e); - - // remove file transfer - GlobalState.fileTransfers = GlobalState.fileTransfers.filter((fileTransfer) => { - return fileTransfer.id !== fileTransferId; - }); - - // rethrow exception throw e; - } } }