From d16b5c65a853d0f0efbab3a89f5d4ed298155321 Mon Sep 17 00:00:00 2001 From: Adam Fisk Date: Wed, 19 Feb 2025 06:25:19 -0700 Subject: [PATCH] propagate panic listener --- go.mod | 2 +- go.sum | 4 ++-- kindling.go | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 679c08c..fee9397 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.22.4 require ( github.com/Jigsaw-Code/outline-sdk v0.0.18-0.20241106233708-faffebb12629 github.com/Jigsaw-Code/outline-sdk/x v0.0.0-20250113162209-efa808309e1e - github.com/getlantern/fronted v0.0.0-20250205182429-f8aa4896e1e5 + github.com/getlantern/fronted v0.0.0-20250219040712-771dbc843542 go.opentelemetry.io/otel v1.19.0 ) diff --git a/go.sum b/go.sum index e6012db..6fce7ea 100644 --- a/go.sum +++ b/go.sum @@ -32,8 +32,8 @@ github.com/getlantern/fdcount v0.0.0-20190912142506-f89afd7367c4 h1:JdD4XSaT6/j6 github.com/getlantern/fdcount v0.0.0-20190912142506-f89afd7367c4/go.mod h1:XZwE+iIlAgr64OFbXKFNCllBwV4wEipPx8Hlo2gZdbM= github.com/getlantern/filepersist v0.0.0-20160317154340-c5f0cd24e799 h1:FhkPUYCQYmoxS02r2GRrIV7dahUIncRl36xzs3/mnjA= github.com/getlantern/filepersist v0.0.0-20160317154340-c5f0cd24e799/go.mod h1:8DGAx0LNUfXNnEH+fXI0s3OCBA/351kZCiz/8YSK3i8= -github.com/getlantern/fronted v0.0.0-20250205182429-f8aa4896e1e5 h1:Epy63dEBOiy1y+4B0TpIlDA9s/IaVth+Iy4/QlVj8Iw= -github.com/getlantern/fronted v0.0.0-20250205182429-f8aa4896e1e5/go.mod h1:/4g6lEMXHzkF/6WBr3vod4wh3tos632qSZGh7L/fIdg= +github.com/getlantern/fronted v0.0.0-20250219040712-771dbc843542 h1:MjZxNaypCs40gmVJp38z25ySftio8PNpeNa35OXFvCg= +github.com/getlantern/fronted v0.0.0-20250219040712-771dbc843542/go.mod h1:/4g6lEMXHzkF/6WBr3vod4wh3tos632qSZGh7L/fIdg= github.com/getlantern/golog v0.0.0-20190830074920-4ef2e798c2d7/go.mod h1:zx/1xUUeYPy3Pcmet8OSXLbF47l+3y6hIPpyLWoR9oc= github.com/getlantern/golog v0.0.0-20210606115803-bce9f9fe5a5f/go.mod h1:ZyIjgH/1wTCl+B+7yH1DqrWp6MPJqESmwmEQ89ZfhvA= github.com/getlantern/golog v0.0.0-20230503153817-8e72de7e0a65 h1:NlQedYmPI3pRAXJb+hLVVDGqfvvXGRPV8vp7XOjKAZ0= diff --git a/kindling.go b/kindling.go index 1472815..aa41e8b 100644 --- a/kindling.go +++ b/kindling.go @@ -140,6 +140,7 @@ func (k *kindling) newFrontedDialer(configURL, countryCode string) (httpDialer, Transport: trans, } fr := fronted.NewFronted( + fronted.WithPanicListener(k.panicListener), fronted.WithHTTPClient(httpClient), fronted.WithConfigURL(configURL), fronted.WithCountryCode(countryCode),