On Thu, Dec 15, 2016, 11:08 PM Maksim Sitnikov <sitniko...@gmail.com> wrote:
> > On Thursday, December 15, 2016 at 12:23:48 PM UTC+4, Dave Cheney wrote: > > The stack trace is written to stderr, export GOTRACEBACK=all if you want a > stack trace of all goroutines not just the one that faulted. > > > Thanks you. Yes, it is. But how can I send it? App crashes when there is > a panic in any goroutine. And I can't control creation of all goroutines. > Is there any solution? > If you fear a panic that can't be caught, and you want to log it, why not just wrap your process in a script that will log output from non zero exits before getting restarted? > -- > 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. > -- 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.