mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-21 00:45:21 -04:00
[GH-ISSUE #65] Panic hook to generate crash dumps #38
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DecDuck on GitHub (Jul 18, 2025).
Original GitHub issue: https://github.com/Drop-OSS/drop-app/issues/65
Use https://doc.rust-lang.org/std/panic/fn.set_hook.html to catch any panic, and dump something to disk. Perhaps also fork and start a separate "crash handler" binary that shows a message to the user, and directs them to support channels/opening a bug report.
Panic hook to generate crash dumpsto [GH-ISSUE #65] Panic hook to generate crash dumps