Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
node: Log Panics
Merged did:key:z6MkgFq6...nBGz opened 9 months ago

It’s desired to log the backtrace in case of a panic. Add a custom panic handler which then logs the backtrace.

did:key:z6MkgFq6...nBGz opened with revision f238147e on base fdb1ac4e +61 -1 9 months ago

It’s desired to log the backtrace in case of a panic. Add a custom panic handler which then logs the backtrace.

did:key:z6MkwcUR...q1kL commented on revision 1 8 months ago

Why not using the human-panic crate, which is maintained, and which can also include backtraces.

Not sure whether the output looks similar to log-panics, because there’s no example for that one shown on the github page.

If wanted, I can contribute a patch for that one.

lorenz commented on revision 1 8 months ago

There hasn’t been any reaction in 19 days, even though the author’s GitHub account seems to be active. That’s a bad sign. I’ll move this patch back to draft.

lorenz pushed revision 2 1a0f3709 on base 5fea9ac0 +38 -8 7 months ago

Do not use log-panics, but backtrace directly.

lorenz pushed revision 3 48cc004f on base 0441b048 +38 -8 7 months ago

Rebase

fintohaps pushed revision 4 e571de81 on base 0441b048 +37 -8 7 months ago

REVIEW

fintohaps pushed revision 5 8c64da78 on base 0441b048 +37 -8 7 months ago

Changes:

  • Rebase
  • Squash review
fintohaps merged revision 8c64da78 at ed8b0860 7 months ago