From b1940519c320690aee98cbddc296b392c6def2f1 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Mon, 3 Jul 2023 16:29:32 -0700 Subject: [PATCH] Log error if unable to decode chunk from Github --- src/khoj/processor/github/github_to_jsonl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/khoj/processor/github/github_to_jsonl.py b/src/khoj/processor/github/github_to_jsonl.py index 537f9878..dd797c31 100644 --- a/src/khoj/processor/github/github_to_jsonl.py +++ b/src/khoj/processor/github/github_to_jsonl.py @@ -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