mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00
Get empty content when exception
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user