We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06e7f4c commit d290c05Copy full SHA for d290c05
agent-sdk-client/config.py
@@ -41,7 +41,7 @@ def load_command_whitelist(config_path: Path = DEFAULT_CONFIG_PATH) -> list[str]
41
if isinstance(whitelist, list):
42
return [cmd for cmd in whitelist if isinstance(cmd, str)]
43
except (OSError, tomllib.TOMLDecodeError) as exc: # pragma: no cover - defensive logging
44
- logger.warning(f"Failed to load command whitelist: {exc}")
+ logger.warning("Failed to load command whitelist: %s", exc)
45
return []
46
47
0 commit comments