mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Log error if unable to decode chunk from Github
This commit is contained in:
@@ -157,6 +157,7 @@ class GithubToJsonl(TextToJsonl):
|
||||
content += chunk.decode("utf-8")
|
||||
except Exception as e:
|
||||
logger.error(f"Unable to decode chunk from {file_url}")
|
||||
logger.error(e)
|
||||
|
||||
return content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user