Get empty content when exception

This commit is contained in:
Pinyoo Thotaboot
2025-05-26 11:26:16 +07:00
parent 5e9c56b96c
commit a975b32376

View File

@ -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: