Skip to content

Commit 5dcb35e

Browse files
committed
fix: correctly propagate error
1 parent 2b1f228 commit 5dcb35e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/query_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ async def process_query(
103103
print(f"{Colors.RED}{exc}{Colors.END}")
104104

105105
return IngestErrorResponse(
106-
error="Repository not found. Please make sure it is public." if "405" in str(exc) else "",
106+
error=str(exc),
107107
repo_url=short_repo_url,
108108
)
109109

0 commit comments

Comments
 (0)