Skip to content

Commit

Permalink
Fix use requests HTTPError
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyDizi committed Aug 2, 2024
1 parent fe4e642 commit aef9a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_agent/git_providers/bitbucket_server_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def get_file(self, path: str, commit_id: str):
self.repo_slug,
path,
commit_id)
except requests.HTTPError as e:
except HTTPError as e:
get_logger().debug(f"File {path} not found at commit id: {commit_id}")
return file_content

Expand Down

0 comments on commit aef9a04

Please sign in to comment.