Skip to content

Commit d40bb07

Browse files
committed
Improve error message
1 parent bed9b98 commit d40bb07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/tmc-testmycode-client/src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ impl TestMyCodeClient {
130130
.0
131131
.root_url
132132
.join("/oauth/token")
133-
.map_err(|e| TestMyCodeClientError::UrlParse("oauth/token".to_string(), e))?;
133+
.map_err(|e| TestMyCodeClientError::UrlParse(self.0.root_url.to_string() + "/oauth/token", e))?;
134134

135135
let credentials = api_v8::get_credentials(self, client_name)?;
136136

0 commit comments

Comments
 (0)