Skip to content

goroutine: Periodic goroutine should capture panics

Created by: efritz

We call Handle periodically and make semantic use of a returned error value (for logging and observability). We should also ensure that we make the behavior symmetric to goroutine.Go, and convert panics into an error value. This will ensure that a panic in a background routine does not blow up permenantly.