We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5213366 commit 0304b8bCopy full SHA for 0304b8b
1 file changed
flowtracker.go
@@ -127,6 +127,7 @@ func NewMiddleware(opts ...Option) func(http.Handler) http.Handler {
127
// Wrap in anonymous func to handle panics individually
128
func(e Exporter) {
129
defer func() {
130
+ // With this recover() logic inside the loop: If one of the multiple exporters are down, then this won't stop the other exporters from working
131
if r := recover(); r != nil {
132
fmt.Printf("FlowTracker Exporter Panic: %v\n", r)
133
}
0 commit comments