small log improvement

This commit is contained in:
mrT23
2024-02-26 15:16:59 +02:00
parent a5cb35418e
commit ffe4512b7d

View File

@ -273,7 +273,7 @@ async def _perform_auto_commands_github(commands_conf: str, agent: PRAgent, body
other_args = update_settings_from_args(args)
new_command = ' '.join([command] + other_args)
with get_logger().contextualize(**log_context):
get_logger().info(f"New PR opened. Performing auto command '{new_command}', for {api_url=}")
get_logger().info(f"{commands_conf}. Performing auto command '{new_command}', for {api_url=}")
await agent.handle_request(api_url, new_command)