kaspanet / rusty-kaspa

Kaspa full-node and related libraries in the Rust programming language. This is a stable version at the initial rollout phases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a panic report with details

gvbgduh opened this issue · comments

Is your feature request related to a problem? Please describe.
Follow up on #446.
As logs will be available only after the logging system is initiated, it introduces the gap in logs before such the event.
In case of a panic, there will be created a panic report and saved to a file regardless of the logging system status.
Additionally, the panic report may contain details to help with the troubleshooting.

Describe the solution you'd like
Write to a file a panic report in case of panic, consider including additional context that can help troubleshooting the issues.

Describe alternatives you've considered
Options were considered in #446.

Additional context
N/A

Can be closed now