aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/onedrive/onedrivetokenrefresher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud/onedrive/onedrivetokenrefresher.cpp')
-rw-r--r--backends/cloud/onedrive/onedrivetokenrefresher.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/cloud/onedrive/onedrivetokenrefresher.cpp b/backends/cloud/onedrive/onedrivetokenrefresher.cpp
index 04e155c084..9afea3d5bd 100644
--- a/backends/cloud/onedrive/onedrivetokenrefresher.cpp
+++ b/backends/cloud/onedrive/onedrivetokenrefresher.cpp
@@ -67,7 +67,7 @@ void OneDriveTokenRefresher::finishJson(Common::JSONValue *json) {
if (result.contains("error")) {
//new token needed => request token & then retry original request
if (_stream) {
- debug("code %ld", _stream->httpResponseCode());
+ debug(9, "code %ld", _stream->httpResponseCode());
}
Common::JSONObject error = result.getVal("error")->asObject();
@@ -76,12 +76,12 @@ void OneDriveTokenRefresher::finishJson(Common::JSONValue *json) {
Common::String code, message;
if (error.contains("code")) {
code = error.getVal("code")->asString();
- debug("code = %s", code.c_str());
+ debug(9, "code = %s", code.c_str());
}
if (error.contains("message")) {
message = error.getVal("message")->asString();
- debug("message = %s", message.c_str());
+ debug(9, "message = %s", message.c_str());
}
//determine whether token refreshing would help in this situation