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

fix: make router error message more helpful for undefined routes #1678

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

mnmkng
Copy link
Member

@mnmkng mnmkng commented Nov 14, 2022

Trying to improve the error message a bit. I had a situation where I forgot to add a label to enqueueLinks. The original message told me that I needed to add a default route, but it did not mention that it's telling me this, because the label was undefined. The issue wasn't a missing default route, but a missing label. Hopefully this one is a bit more clear, but happy to hear other suggestions.

@mnmkng mnmkng requested a review from B4nan November 14, 2022 19:03
@B4nan B4nan merged commit ab359d8 into master Nov 14, 2022
@B4nan B4nan deleted the mnmkng/improve-label-error-message branch November 14, 2022 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants