Skip to content

Commit 209af68

Browse files
authored
nit: log rmcp_client (openai#5978)
1 parent f4f9695 commit 209af68

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

codex-rs/cli/src/mcp_cmd.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,7 @@ async fn run_login(config_overrides: &CliConfigOverrides, login_args: LoginArgs)
347347
.context("failed to load configuration")?;
348348

349349
if !config.features.enabled(Feature::RmcpClient) {
350-
bail!(
351-
"OAuth login is only supported when experimental_use_rmcp_client is true in config.toml."
352-
);
350+
bail!("OAuth login is only supported when [feature].rmcp_client is true in config.toml.");
353351
}
354352

355353
let LoginArgs { name, scopes } = login_args;

0 commit comments

Comments
 (0)