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

Don't hide error message on GUI creation #1051

Merged
merged 1 commit into from
May 18, 2024

Conversation

eugenesvk
Copy link
Contributor

Describe your changes. Use imperative present tense.

Previous .context was hiding the errors during the gui building stage, leading to #990 (comment)

This fixes it and now it should bubble up the original error

(anyhow's trait isn't implemented for NWG errors, so not sure you can conveniently chain both)

Checklist

  • Add documentation to docs/config.adoc
    • N/A
  • Add example and basic docs to cfg_samples/kanata.kbd
    • N/A
  • Update error messages
    • Yes or N/A
  • Added tests, or did manual testing
    • Yes

@eugenesvk eugenesvk mentioned this pull request May 18, 2024
3 tasks
@eugenesvk eugenesvk marked this pull request as draft May 18, 2024 19:17
@eugenesvk eugenesvk marked this pull request as ready for review May 18, 2024 19:25
@jtroo jtroo merged commit 34882a6 into jtroo:main May 18, 2024
4 checks passed
@eugenesvk eugenesvk deleted the gui_better_error branch May 19, 2024 09:07
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