diff --git a/package.json b/package.json index 971d1440e..6c60d9e46 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "internxt-drive", - "version": "2.3.2-qa2", + "version": "2.3.2", "author": "Internxt ", "description": "Internxt Drive client UI", "license": "AGPL-3.0", diff --git a/release/app/package.json b/release/app/package.json index 8e8cb29ed..ca034f7d3 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,6 +1,6 @@ { "name": "internxt-drive", - "version": "2.3.2-qa2", + "version": "2.3.2", "description": "Internxt Drive client UI", "main": "./dist/main/main.js", "author": "Internxt ", diff --git a/src/apps/backups/Backups.ts b/src/apps/backups/Backups.ts index 0a6931a1a..81b1c3c37 100644 --- a/src/apps/backups/Backups.ts +++ b/src/apps/backups/Backups.ts @@ -182,11 +182,17 @@ export class Backup { ); } catch (error) { Logger.error('Error uploading files', error); - } - this.backed += batch.length; + if (error instanceof DriveDesktopError) { + Logger.error('Error uploading files', { + cause: error.cause, + }); + throw error; + } + this.backed += batch.length; - Logger.debug('[Backed]', this.backed); - BackupsIPCRenderer.send('backups.progress-update', this.backed); + Logger.debug('[Backed]', this.backed); + BackupsIPCRenderer.send('backups.progress-update', this.backed); + } } }