diff options
-rw-r--r-- | backends/cloud/onedrive/onedrivetokenrefresher.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/cloud/onedrive/onedrivetokenrefresher.cpp b/backends/cloud/onedrive/onedrivetokenrefresher.cpp index 1654869e07..10992c5927 100644 --- a/backends/cloud/onedrive/onedrivetokenrefresher.cpp +++ b/backends/cloud/onedrive/onedrivetokenrefresher.cpp @@ -98,7 +98,8 @@ void OneDriveTokenRefresher::finishJson(Common::JSONValue *json) { irrecoverable = false; if (irrecoverable) { - finishError(Networking::ErrorResponse(this, false, true, json->stringify(true), httpResponseCode)); + Common::String errorContents = "<irrecoverable> " + json->stringify(true); + finishError(Networking::ErrorResponse(this, false, true, errorContents, httpResponseCode)); delete json; return; } |