tsc-platform: opt-in local crash reports
crash::install(dir, enabled) sets a panic hook (once, chained to the previous one) that writes a plain-text report per panic while enabled: time, version, OS/distribution/session, thread, message, location and a backtrace. The newest 10 are kept; nothing is uploaded. pending_reports() and clear() let the UI offer to open the folder or delete the reports. The default directory is <state dir>/crash-reports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
ad1155fc90
commit
68012eafc2
4 files changed
+530
-1
No files matched your search
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "tsc-platform"
|
||||
version = "0.1.0"
|
||||
description = "Desktop integration: global push-to-talk hotkeys, notifications and app directories."
|
||||
description = "Desktop integration: global push-to-talk hotkeys, notifications, app directories, crash reports and third-party notices."
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
Reference in new issue
Block a user