Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CatchPanic ¶
CatchPanic prevents a panic from escaping and allows us to log an error for it. This is helpful to keep track of async goroutines that do not return anything to the main app thread. We want to catch the panic and log an error in these cases and want to prevent them from crashing the app. Ideally this is used in a debugging process that leads to the resolution of the panic case.
func LogPanic ¶ added in v1.3.2
LogPanic produces an error log to record the issue and repanics to allow the app to crash. This is helpful to get a definitive error log before the uncaught panic crashes the app. Ideally this is used in a debugging process that leads to the resolution of the panic case.
Types ¶
This section is empty.