Skip to content

fix brownie console crash when X11 is not available#2088

Merged
BobTheBuidler merged 2 commits intoeth-brownie:masterfrom
kernel1983:brownie_console_crash
Nov 11, 2025
Merged

fix brownie console crash when X11 is not available#2088
BobTheBuidler merged 2 commits intoeth-brownie:masterfrom
kernel1983:brownie_console_crash

Conversation

@kernel1983
Copy link
Copy Markdown
Contributor

What I did

Related issue: no
2025-11-05 12_14_28-Greenshot

How I did it

add one exception to catch the crash

How to verify it

run the code and crash disappear

Checklist

  • [ X ] I have confirmed that my PR passes all linting checks
  • I have included test cases
  • I have updated the documentation
  • I have added an entry to the changelog

kernel1983 and others added 2 commits November 5, 2025 12:21
ModuleNotFound error is a subclass of ImportError, so we only need one except clause
@BobTheBuidler
Copy link
Copy Markdown
Collaborator

Nice work, thanks!

@BobTheBuidler BobTheBuidler merged commit 277ffa6 into eth-brownie:master Nov 11, 2025
8 of 33 checks passed
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.

2 participants