Skip to content

Commit

Permalink
Make sure exception is filled in.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <[email protected]>
  • Loading branch information
allexzander committed Nov 30, 2023
1 parent 58d6cda commit 0521d9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libsync/propagateuploadng.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ void PropagateUploadFileNG::slotPutFinished()
_item->_httpErrorCode = job->reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
_item->_requestId = job->requestId();
commonErrorHandling(job);
_item->_errorException = getExceptionFromReply(job->reply());
return;
}

Expand Down Expand Up @@ -496,6 +497,7 @@ void PropagateUploadFileNG::slotMoveJobFinished()

if (err != QNetworkReply::NoError) {
commonErrorHandling(job);
_item->_errorException = getExceptionFromReply(job->reply());
return;
}

Expand Down

0 comments on commit 0521d9b

Please sign in to comment.