Go library for catching and handling panics in Go applications
37.18 KB
built 2026-10-14 06:28:17 GMT
Description
Panicwrap is a Go library that re-executes a Go binary and monitors stderr
output from the binary for a panic. When it find a panic, it executes a
user-defined handler function. Stdout, stderr, stdin, signals, and exit codes
continue to work as normal, making the existence of panicwrap mostly invisble to
the end user until a panic actually occurs.
Since a panic is truly a bug in the program meant to crash the runtime, globally
catching panics within Go applications is not supposed to be possible. Despite
this, it is often useful to have a way to know when panics occur. panicwrap
allows you to do something with these panics, such as writing them to a file, so
that you can track when panics occur.
Panicwrap is not a panic recovery system. Panics indicate serious problems with
your application and should crash the runtime. panicwrap is just meant as a way
to monitor for panics. If you still think this is the worst idea ever, read the
section below on why.
Dependencies
5 totalRequires4
- go-rpm-macros
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- golang-github-bugsnag-panicwrap-devel = 1.3.4-11.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
3Name ![]() |
Size |
|---|---|
| 0001-Add-RISCV-as-valid-architecture.patch | 1.14 KB |
| golang-github-bugsnag-panicwrap.spec | 8.33 KB |
| panicwrap-1.3.4.tar.gz | 10.93 KB |
Files 1–3 of 3
Component of
buildroots that installed this RPMNo Buildroots
