opentelemetry-lambda
opentelemetry-lambda copied to clipboard
Collector start error is never surfaced
ipp.appDone = make(chan struct{})
go func() {
defer close(ipp.appDone)
appErr := ipp.svc.Run()
if appErr != nil {
err = appErr
}
}()
The err assignment here can happen after start function returns. This logic won't surface the ipp.svc.Run errors.