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

Add type_name to panic error messages in WidgetPod #2380

Conversation

matthewgapp
Copy link
Contributor

@matthewgapp matthewgapp commented May 28, 2023

Hey, just started tinkering with Druid and think that it could work well for my current project. Even though it's "discontinued", I'd like to start contributing to soften some of the rough edges while Xilem gets off the ground.

This PR introduces a super small change, adding the typename to the panic messages. I ran into this while running down a another bug in my app. I couldn't make heads or tails about which component was causing issues because WidgetPod is used under the hood in so many places. I think adding information. about which type is experiencing the panic will be helpful to others, too.

@jaredoconnell
Copy link
Contributor

I haven't tested this, but this looks valuable to me.

Copy link
Collaborator

@jneem jneem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! It looks like some auto-formatter got run on the changelog, right? Seems harmless, though...

Edit: it looks like we'll have to figure out the CI failures, though... my initial guess is that some mac dependency broke semver...

@matthewgapp matthewgapp force-pushed the matt/improve/better-widgetpod-panic-error-messages branch from caa6184 to 8ff9774 Compare May 29, 2023 22:58
@matthewgapp
Copy link
Contributor Author

matthewgapp commented May 29, 2023

Thanks for the PR! It looks like some auto-formatter got run on the changelog, right? Seems harmless, though...

Edit: it looks like we'll have to figure out the CI failures, though... my initial guess is that some mac dependency broke semver...

thanks, I removed the unnecessary formatting.

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@xStrom xStrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@xStrom xStrom merged commit 86b9a92 into linebender:master May 31, 2023
@xStrom xStrom added this to the Release 0.9 milestone Oct 25, 2024
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.

4 participants