mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
Get empty content when exception
This commit is contained in:
parent
5e9c56b96c
commit
a975b32376
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ class GiteaProvider(GitProvider):
|
|||
self.file_contents[file_path] = content
|
||||
except ApiException as e:
|
||||
self.logger.error(f"Error getting file content for {file_path}: {str(e)}")
|
||||
self.file_contents[file_path] = ""
|
||||
|
||||
def __add_file_diff(self):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue