Skip to content

Commit 4932e87

Browse files
Mickaël SchoentgenBoboTiG
authored andcommitted
NXDRIVE-2569: Fix error notification when the upload is paused
1 parent c9ff416 commit 4932e87

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

docs/changes/5.0.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Release date: `2021-xx-xx`
2525
- [NXDRIVE-2382](https://jira.nuxeo.com/browse/NXDRIVE-2382): Add CSV export capability for sessions
2626
- [NXDRIVE-2537](https://jira.nuxeo.com/browse/NXDRIVE-2537): Enable the Direct Transfer feature by default
2727
- [NXDRIVE-2559](https://jira.nuxeo.com/browse/NXDRIVE-2559): CSV filename should be elided when too long
28+
- [NXDRIVE-2569](https://jira.nuxeo.com/browse/NXDRIVE-2569): Fix error notification when the upload is paused
2829

2930
## GUI
3031

nxdrive/engine/processor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ def _handle_doc_pair_dt(self, doc_pair: DocPair, sync_handler: Callable) -> None
274274
return
275275
self._direct_transfer_cancel(refreshed_doc_pair)
276276
log.debug(f"Cancelled upload {exc.transfer_id!r}")
277+
except UploadPaused:
278+
raise
277279
except Exception:
278280
# Show a notification on error
279281
file = doc_pair.local_path if WINDOWS else Path(f"/{doc_pair.local_path}")

0 commit comments

Comments
 (0)