tracing-tree icon indicating copy to clipboard operation
tracing-tree copied to clipboard

`thread caused non-unwinding panic. aborting.`

Open MichaReiser opened this issue 8 months ago • 0 comments

The unwrap call here can fail when the lock got poisoned because of a panic, causing a panic while unwinding

https://github.com/davidbarsky/tracing-tree/blob/12ac87f080223e4147062b62dd0a170f516ad3c3/src/lib.rs#L574

The application doesn't abort when using a different tracing subscriber.

I think a fix here could be to not print to buf but otherwise run the logic "as normal"

MichaReiser avatar May 04 '25 20:05 MichaReiser