mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-14 17:50:37 +08:00
fix: error handling in PR processing logic
This commit is contained in:
@ -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("/")
|
||||
|
Reference in New Issue
Block a user