mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 05:39: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")
|
content += chunk.decode("utf-8")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Unable to decode chunk from {file_url}")
|
logger.error(f"Unable to decode chunk from {file_url}")
|
||||||
|
logger.error(e)
|
||||||
|
|
||||||
return content
|
return content
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user