Don't qualify error! macro

It's already imported.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille
2025-03-26 14:04:38 +01:00
committed by Damir Jelić
parent bc22ff1221
commit eb313efdeb

View File

@@ -610,7 +610,7 @@ impl Client {
Ok(Some(url_builder)) => url_builder,
Ok(None) => return Ok(None),
Err(e) => {
tracing::error!("Failed retrieving account management URL: {e}");
error!("Failed retrieving account management URL: {e}");
return Err(e.into());
}
};
@@ -622,7 +622,7 @@ impl Client {
match url_builder.build() {
Ok(url) => Ok(Some(url.to_string())),
Err(e) => {
tracing::error!("Failed to build account management URL: {e}");
error!("Failed to build account management URL: {e}");
Err(OAuthError::AccountManagementUrl(e).into())
}
}