-
Notifications
You must be signed in to change notification settings - Fork 3.9k
fix: re-throw hub error for non-markdown hub slugs #9270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
When hub loading fails for a path that looks like a hub slug (owner/agent) and is NOT a markdown file, re-throw the hub error instead of showing "Not a markdown file". This preserves the actual error from the hub (e.g., network error, auth error, not found) instead of a confusing generic message. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
1 similar comment
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
|
✅ Review Complete Code Review SummaryTroubleshooting
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 2 files

Summary
Fixes issue where hub loading errors were being swallowed and replaced with "Not a markdown file" error message.
When hub loading fails for a path that looks like a hub slug (e.g.,
continuedev/default-hub-cloud-agent) and is NOT a markdown file, the code now re-throws the actual hub error instead of showing "Not a markdown file". This preserves the real error (e.g., network error, auth error, not found) instead of a confusing generic message.Test plan
🤖 Generated with Claude Code
Summary by cubic
Fixes error handling for hub slugs by re-throwing the actual hub error for non-markdown paths instead of showing "Not a markdown file", so users see the real network/auth/not-found error.
Written for commit f644c88. Summary will update automatically on new commits.