Closed marcusramberg closed 7 months ago
Sorry, I don't mean to ignore your work. The more I discovered about the updates to error handling, the less confident I became in these changes preventing crashes in some cases.
I think a lot of these try/except blocks could be reworked so that they are no longer needed in the first place. I should go through the code base sometime and simplify those cases (I was pretty new to Nim when I started this project, lol)
No worries. :)
I'm seeing an error trying to run nimdow with these changes, here's some info:
I've updated a few things so I can run it locally in Xephyr in debug mode, and get more helpful logs. Here's a patch of those changes:
You can build nimdow in debug mode with
nimble debug
after that patch is applied ^Xephyr -br -ac -reset -screen 1920x1080 :1 &
DISPLAY=:1 ./bin/nimdow
It should crash immediately. The error I see:
Sorry it's taken me so long to get back on this PR, I was a bit sidetracked.