Skip to content
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

Improve Subpackage Errors #6276

Open
victoriaplummer opened this issue Mar 3, 2025 · 1 comment
Open

Improve Subpackage Errors #6276

victoriaplummer opened this issue Mar 3, 2025 · 1 comment
Labels
errors Related to error messages thrown by Fern product/CLI Fern's command line interface tool

Comments

@victoriaplummer
Copy link

victoriaplummer commented Mar 3, 2025

How important is this?

P1 - High (Strongly needed)

What's the feature?

-Feature - Improve existing errors when generating Fern docs.
-Why - Every now and then I run into a "Subpackage Error" when generating docs, but it's not clear what is triggering the error. I know it's an issue in my .yml of my version config file, but I have multiple versions and a lot of endpoints and have to hunt and peck through each to understand what's triggering it. This is a major distraction and would much rather the error tell me which endpoint wasn't loaded because of it - or where in version.yml the error occurs. At the very least, which version is erroring.

ERROR 2025-03-03T16:07:19.732Z [docs]:         Subpackage undefined not found in 8b249146-7cdb-475b-9843-254b6a5110a6```
@dannysheridan dannysheridan added errors Related to error messages thrown by Fern product/CLI Fern's command line interface tool labels Mar 3, 2025
@dannysheridan
Copy link
Member

dannysheridan commented Mar 3, 2025

Agree that this error is frustrating. Thanks for reporting here. Possible to link the branch/commit you were working off of?

Update: here's the commit that fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
errors Related to error messages thrown by Fern product/CLI Fern's command line interface tool
Development

No branches or pull requests

2 participants