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

Error messages showing when they shouldn't be #9

Closed
ehne opened this issue Aug 16, 2021 · 0 comments
Closed

Error messages showing when they shouldn't be #9

ehne opened this issue Aug 16, 2021 · 0 comments

Comments

@ehne
Copy link
Owner

ehne commented Aug 16, 2021

When adding duplicate nodes to a graph an error message is shown. This is correct behaviour.

But when those are caught in a try-except block, the error message still pops up.

This appears to be because the error popup is dispatched in the __init__ of the Error class.

ehne added a commit that referenced this issue Sep 28, 2021
It would display the error message even if it was caught. Investigated using sys.excepthook, but it wouldn't work inside the function for some reason.
@ehne ehne closed this as completed Sep 28, 2021
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

No branches or pull requests

1 participant