mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 21:00:40 +08:00
Fix use requests HTTPError
This commit is contained in:
@ -125,7 +125,7 @@ class BitbucketServerProvider(GitProvider):
|
|||||||
self.repo_slug,
|
self.repo_slug,
|
||||||
path,
|
path,
|
||||||
commit_id)
|
commit_id)
|
||||||
except requests.HTTPError as e:
|
except HTTPError as e:
|
||||||
get_logger().debug(f"File {path} not found at commit id: {commit_id}")
|
get_logger().debug(f"File {path} not found at commit id: {commit_id}")
|
||||||
return file_content
|
return file_content
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user