aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/box/boxuploadrequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud/box/boxuploadrequest.cpp')
-rw-r--r--backends/cloud/box/boxuploadrequest.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/backends/cloud/box/boxuploadrequest.cpp b/backends/cloud/box/boxuploadrequest.cpp
index 29034c479f..f68ba6a580 100644
--- a/backends/cloud/box/boxuploadrequest.cpp
+++ b/backends/cloud/box/boxuploadrequest.cpp
@@ -143,8 +143,9 @@ void BoxUploadRequest::uploadedCallback(Networking::JsonResponse response) {
}
if (error.httpResponseCode != 200 && error.httpResponseCode != 201)
- warning("looks like an error");
+ warning("BoxUploadRequest: looks like an error (bad HTTP code)");
+ //TODO: add more JSON warnings there
Common::JSONValue *json = response.value;
if (json) {
if (json->isObject()) {
@@ -188,10 +189,10 @@ void BoxUploadRequest::uploadedCallback(Networking::JsonResponse response) {
*/
}
- warning("no file info to return");
+ warning("BoxUploadRequest: no file info to return");
finishUpload(StorageFile(_savePath, 0, 0, false));
} else {
- warning("null, not json");
+ warning("BoxUploadRequest: null, not json");
finishError(error);
}