aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm/src/oauth.rs
diff options
context:
space:
mode:
Diffstat (limited to 'teleterm/src/oauth.rs')
-rw-r--r--teleterm/src/oauth.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/teleterm/src/oauth.rs b/teleterm/src/oauth.rs
index 1229855..0d55a9f 100644
--- a/teleterm/src/oauth.rs
+++ b/teleterm/src/oauth.rs
@@ -71,7 +71,7 @@ pub trait Oauth {
.request_async(oauth2::reqwest::async_http_client)
.map_err(|e| {
let msg = stringify_oauth2_http_error(&e);
- Error::ExchangeCode { msg }
+ Error::ExchangeRefreshToken { msg }
})
.and_then(|token| {
let access_token = token.access_token().secret().to_string();