diff options
Diffstat (limited to 'backends/cloud/onedrive/onedriveuploadrequest.cpp')
-rw-r--r-- | backends/cloud/onedrive/onedriveuploadrequest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cloud/onedrive/onedriveuploadrequest.cpp b/backends/cloud/onedrive/onedriveuploadrequest.cpp index 5b86c6c988..500f875b9d 100644 --- a/backends/cloud/onedrive/onedriveuploadrequest.cpp +++ b/backends/cloud/onedrive/onedriveuploadrequest.cpp @@ -127,9 +127,9 @@ void OneDriveUploadRequest::partUploadedCallback(Networking::JsonResponse respon if (object.contains("error")) { warning("OneDrive returned error: %s", json->stringify(true).c_str()); - delete json; error.response = json->stringify(true); finishError(error); + delete json; return; } |