mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-18 02:27:10 +00:00
Log error if unable to decode chunk from Github
This commit is contained in:
parent
ecf9730cd7
commit
b1940519c3
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue