Quick Start¶
One-line Setup¶
That's it. Every unhandled exception now produces a structured crash
report in ~/.safedump/.
View a Crash Report¶
This shows the most recent crash with syntax highlighting (if Rich is installed) or plain text.
Export as HTML¶
The HTML file is completely self-contained -- no internet required.
Manual Capture¶
try:
result = dangerous_operation()
except Exception:
path = safedump.capture_exception()
print(f"Crash captured: {path}")
raise # re-raise after capture
List Recent Crashes¶
Filter by Exception Type¶
Run a Self-Test¶
This deliberately raises and captures a test exception to verify Safedump is working.