From 5b5a89e3e7b880907f99675a68c5e0a8e2460470 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Sun, 25 Aug 2019 14:30:21 +0700 Subject: CLOUD: Make Network::ErrorResponse messages more verbose This commit updates all usages of Network::ErrorResponse to specify at least method name if not precise reason why operation failed. --- backends/cloud/box/boxtokenrefresher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/cloud/box/boxtokenrefresher.cpp') diff --git a/backends/cloud/box/boxtokenrefresher.cpp b/backends/cloud/box/boxtokenrefresher.cpp index 19cdd92667..db52672173 100644 --- a/backends/cloud/box/boxtokenrefresher.cpp +++ b/backends/cloud/box/boxtokenrefresher.cpp @@ -41,7 +41,7 @@ void BoxTokenRefresher::tokenRefreshed(Storage::BoolResponse response) { if (!response.value) { //failed to refresh token, notify user with NULL in original callback warning("BoxTokenRefresher: failed to refresh token"); - finishError(Networking::ErrorResponse(this, false, true, "", -1)); + finishError(Networking::ErrorResponse(this, false, true, "BoxTokenRefresher::tokenRefreshed: failed to refresh token", -1)); return; } -- cgit v1.2.3