Skip to content

Commit

Permalink
NXDRIVE-2844: Nuxeo Drive transfer failed after removing hardware wor…
Browse files Browse the repository at this point in the history
…ked on pr comments 015
  • Loading branch information
gitofanindya committed Jul 28, 2023
1 parent a13f41b commit 92bc486
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nxdrive/engine/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,13 +576,12 @@ def _synchronize_direct_transfer(self, doc_pair: DocPair, /) -> None:
Please validate the path and resume."
)
self.dao.pause_session(session.uid)
return "paused"
else:
log.warning(
f"Cancelling Direct Transfer of {path!r} because it does not exist."
)
self._direct_transfer_cancel(doc_pair)
return "cancelled"
return

# Do the upload
self.remote.upload(
Expand Down

0 comments on commit 92bc486

Please sign in to comment.