Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PanicHandlers = []func(interface{}){logPanic}
PanicHandlers is a list of functions which will be invoked when a panic happens.
View Source
var ReallyCrash bool
ReallyCrash is for testing, to bypass HandleCrash.
Functions ¶
func HandleCrash ¶
func HandleCrash()
HandleCrash simply catches a crash and logs an error. Meant to be called via defer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.