Skip to content

Commit d290c05

Browse files
CopilotBukeLy
andcommitted
chore: improve whitelist load logging
Co-authored-by: BukeLy <19304666+BukeLy@users.noreply.github.com>
1 parent 06e7f4c commit d290c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent-sdk-client/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def load_command_whitelist(config_path: Path = DEFAULT_CONFIG_PATH) -> list[str]
4141
if isinstance(whitelist, list):
4242
return [cmd for cmd in whitelist if isinstance(cmd, str)]
4343
except (OSError, tomllib.TOMLDecodeError) as exc: # pragma: no cover - defensive logging
44-
logger.warning(f"Failed to load command whitelist: {exc}")
44+
logger.warning("Failed to load command whitelist: %s", exc)
4545
return []
4646

4747

0 commit comments

Comments
 (0)