From 85fc69697500b5e08917e4a5ae494446fca9d17e Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Tue, 15 Oct 2019 00:20:08 +0200 Subject: [PATCH] more specific and distinguishable oauth2 error message --- src/oauth2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oauth2.rs b/src/oauth2.rs index 4748325cc..01567dbcb 100644 --- a/src/oauth2.rs +++ b/src/oauth2.rs @@ -142,7 +142,7 @@ pub fn dc_get_oauth2_access_token( if !response.status().is_success() { warn!( context, - "Error calling OAuth2 at {}: {:?}", + "Unsuccessful response when calling OAuth2 at {}: {:?}", token_url, response.status() );