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: show the accurate route class name in err msg #12045

Merged
merged 2 commits into from
Oct 15, 2021

Conversation

haijian-vaadin
Copy link
Contributor

The navigationTarget is already a Class, should call navigationTarget.getName() directly, calling navigationTarget.getClass().getName() will always give java.lang.Class which is not helpful in the error message.

@haijian-vaadin haijian-vaadin merged commit 16ee487 into master Oct 15, 2021
@haijian-vaadin haijian-vaadin deleted the haijian/fix-routing-err-msg branch October 15, 2021 09:50
caalador pushed a commit that referenced this pull request Oct 26, 2021
* fix: show the acurate route class name in err msg

* code format
caalador added a commit that referenced this pull request Oct 26, 2021
* fix: show the acurate route class name in err msg

* code format

Co-authored-by: Haijian Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants