mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Fix to raise error on hitting rate limit during Github indexing
This commit is contained in:
parent
78bac4ae05
commit
148923c13a
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ class GithubToEntries(TextToEntries):
|
|||
markdown_files, org_files, plaintext_files = self.get_files(repo_url, repo)
|
||||
except ConnectionAbortedError as e:
|
||||
logger.error(f"Github rate limit reached. Skip indexing github repo {repo_shorthand}")
|
||||
raise e
|
||||
except Exception as e:
|
||||
logger.error(f"Unable to download github repo {repo_shorthand}", exc_info=True)
|
||||
raise e
|
||||
|
|
Loading…
Reference in a new issue