log verbosity

This commit is contained in:
mrT23 2024-12-25 08:22:53 +02:00
parent 5e1b04980e
commit 83e68f168a
No known key found for this signature in database
GPG key ID: D350490E39D5F5AD

View file

@ -73,7 +73,7 @@ class PRAgent:
action = action.lstrip("/").lower()
if action not in command2class:
get_logger().debug(f"Unknown command: {action}")
get_logger().error(f"Unknown command: {action}")
return False
with get_logger().contextualize(command=action, pr_url=pr_url):
get_logger().info("PR-Agent request handler started", analytics=True)