Skip to main content

Crate aster_forge_panic

Crate aster_forge_panic 

Source
Expand description

Shared panic hook and crash report writer for Aster services.

This crate implements the full crash-reporting behavior used by Aster services: a process-wide panic hook, a lazily opened crash log, backtrace capture for developer diagnostics, user-facing stderr notices, and a repository issue target. Product crates provide names, versions, repository URLs, and crash log paths through PanicHookConfig.

Structs§

PanicHookConfig
Configuration used by the shared panic hook.

Constants§

DEFAULT_CRASH_LOG_PATH
Default crash log path used by Aster services.
DEFAULT_ISSUE_TEMPLATE
Default repository issue template path used in panic notices.

Functions§

install_panic_hook
Installs the shared panic hook for the current process.