I can't see anyway to extract earlier panics per runtime's _panic.link. 
This makes it difficult to print stack traces in the way that the default 
handler does if a panic is not recovered.

I want to recover a panic, print its stack trace, and all earlier panic 
values in the way shown here:

panic: zip: not a valid zip file [recovered]

panic: some context [recovered]

panic: more context


goroutine 1 [running]:

<stack trace follows>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to