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: catch errors in property widget when building device property table #224

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

tlambert03
Copy link
Member

If any widget has an exception in the DevicePropertyBrowser, the whole thing fails to load. This PR catches individual widget errors and logs them. So at least the whole browser won't crash (that one widget will be unavailable though)

see pymmcore-plus/napari-micromanager#293 for the overflow issue and see #223 for the "actual" fix

@tlambert03 tlambert03 changed the title fix: catch error in property widget fix: catch errors in property widget when building device property table Oct 12, 2023
@tlambert03 tlambert03 enabled auto-merge (squash) October 12, 2023 12:36
@tlambert03 tlambert03 merged commit 3974f92 into pymmcore-plus:main Oct 12, 2023
13 checks passed
@tlambert03 tlambert03 deleted the catch-prop-error branch October 12, 2023 12:36
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.

1 participant