mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 19:05:18 +00:00
fix: error handling in PR processing logic
This commit is contained in:
parent
50c2578cfd
commit
e7268dd314
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import ast
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
from typing import List
|
||||
|
||||
import uvicorn
|
||||
|
|
@ -87,6 +88,7 @@ def should_process_pr_logic(data) -> bool:
|
|||
return False
|
||||
except Exception as e:
|
||||
get_logger().error(f"Failed 'should_process_pr_logic': {e}")
|
||||
return False
|
||||
return True
|
||||
|
||||
@router.post("/")
|
||||
|
|
|
|||
Loading…
Reference in a new issue