Install golang-github-bugsnag-panicwrap-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-bugsnag-panicwrap-dev
Description:
Go library for catching and handling panics in Go applications
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.
Homepage: https://github.com/bugsnag/panicwrap
Version: 1.1.0-3
Section: universe/devel