Hurt my back this morning. Bad for productivity, but I did take a bit of time after dinner to fix a crash. Started by disabling the button that triggered the crash if it's known that
the thing the button does can't possibly work, re-enabling it when it's likely to succeed. Then I added a couple more checks elsewhere to fail safely if something goes wrong.
The "something goes wrong" can be no fault of the user so I'm glad to have that in there and the disable the button thing gets rid of a pretty easy to trigger footgun.