diff --git a/cli/src/pixl_cli/main.py b/cli/src/pixl_cli/main.py index 673589759..c20c43647 100644 --- a/cli/src/pixl_cli/main.py +++ b/cli/src/pixl_cli/main.py @@ -169,8 +169,12 @@ def _update_extract_rate(queue_name: str, rate: Optional[float]) -> None: ) else: - msg = f"Failed to update rate on consumer for {queue_name}: {response}" - raise RuntimeError(msg) + runtime_error_msg = ( + "Failed to update rate on consumer for %s: %s", + queue_name, + response, + ) + raise RuntimeError(runtime_error_msg) @cli.command()