You must log in or register to comment.
- ImplyingImplications ( @ImplyingImplications@lemmy.ca ) 22•7 months ago
I wrote a small command line program that would crash if a keyboard interrupt was used to close it. I fixed the crash by catching the keyboard interrupt exception…but I couldn’t do anything with it. The keyboard interrupt closes the program. Catching the interrupt only stopped the crash message from appearing. So my code basically looked like this.
- SmoochyPit ( @SmoochyPit@beehaw.org ) English6•7 months ago
very true 😤👍
- splitz ( @splitz@lemm.ee ) 2•7 months ago
Much like teeth … and friends