Package Usage: go: github.com/mitchellh/panicwrap
The panicwrap package provides functions for capturing and handling
panics in your application. It does this by re-executing the running
application and monitoring stderr for any panics. At the same time,
stdout/stderr/etc. are set to the same values so that data is shuttled
through properly, making the existence of panicwrap mostly transparent.
Panics are only detected when the subprocess exits with a non-zero
exit status, since this is the only time panics are real. Otherwise,
"panic-like" output is ignored.
1 version
Latest release: over 5 years ago
189 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/mitchellh/panicwrap