Hello, I have an app with external dependencies (packages). These packages potentially can start goroutine. And this goroutine can raise (runtime) panic (poorly written etc.) and crash my app. Of course, my app will be restarted by service supervisor, but I need to send a report about each such event to the monitoring server, attaching, if possible, additional info such as stack trace, environment, etc.
Is there any solution or practice for such a case? How can it be implemented? Thank you. -- 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.