mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
fix: correct error handling in should_process_pr_logic to prevent processing on failure
This commit is contained in:
parent
6057812a20
commit
4ab97d8969
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ def should_process_pr_logic(data) -> bool:
|
||||||
return False
|
return False
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
get_logger().error(f"Failed allow_only_specific_folders logic: {e}")
|
get_logger().error(f"Failed allow_only_specific_folders logic: {e}")
|
||||||
return True
|
return False
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
get_logger().error(f"Failed 'should_process_pr_logic': {e}")
|
get_logger().error(f"Failed 'should_process_pr_logic': {e}")
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue