We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f244494 commit 2516879Copy full SHA for 2516879
src/server/query_processor.py
@@ -67,6 +67,9 @@ async def process_query(
67
msg = f"Invalid pattern type: {pattern_type}"
68
raise ValueError(msg)
69
70
+ if token:
71
+ validate_github_token(token)
72
+
73
max_file_size = log_slider_to_size(slider_position)
74
75
context = {
@@ -113,9 +116,7 @@ async def process_query(
113
116
114
117
context["error"] = f"Error: {exc}"
115
118
if "405" in str(exc):
- context["error"] = (
- "Repository not found. Please make sure it is public (private repositories will be supported soon)"
- )
119
+ context["error_message"] = "Repository not found. Please make sure it is public."
120
return context
121
122
if len(content) > MAX_DISPLAY_SIZE:
0 commit comments