nit: log rmcp_client (#5978)
This commit is contained in:
@@ -347,9 +347,7 @@ async fn run_login(config_overrides: &CliConfigOverrides, login_args: LoginArgs)
|
|||||||
.context("failed to load configuration")?;
|
.context("failed to load configuration")?;
|
||||||
|
|
||||||
if !config.features.enabled(Feature::RmcpClient) {
|
if !config.features.enabled(Feature::RmcpClient) {
|
||||||
bail!(
|
bail!("OAuth login is only supported when [feature].rmcp_client is true in config.toml.");
|
||||||
"OAuth login is only supported when experimental_use_rmcp_client is true in config.toml."
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let LoginArgs { name, scopes } = login_args;
|
let LoginArgs { name, scopes } = login_args;
|
||||||
|
|||||||
Reference in New Issue
Block a user