tconbeer / harlequin

The SQL IDE for Your Terminal.
https://harlequin.sh
MIT License
3.8k stars 87 forks source link

Never crash from an uncaught exception; gracefully exit (save buffers) and show error message with instructions to open an issue #687

Open tconbeer opened 2 weeks ago

tconbeer commented 2 weeks ago

this probably means writing a log file and pointing users to it.

Include the trace and other info from the env, if possible.

would be nice to do this inside the app so we can try to preserve the contents of the buffer (or maybe we should just checkpoint that every minute or so anyway)