more specific and distinguishable oauth2 error message

This commit is contained in:
B. Petersen
2019-10-15 00:20:08 +02:00
parent 766d7cbd3a
commit 85fc696975

View File

@@ -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()
);