Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update airbrake to v5 #63

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions errornotifier/airbraker.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"runtime/debug"

gobrake "github.com/airbrake/gobrake/v4"
gobrake "github.com/airbrake/gobrake/v5"
"github.com/theplant/appkit/log"
)

Expand Down Expand Up @@ -71,7 +71,7 @@ func NewAirbrakeNotifier(c AirbrakeConfig) (Notifier, io.Closer, error) {
ProjectId: c.ProjectID,
ProjectKey: c.Token,
Environment: c.Environment,
KeysBlacklist: c.KeysBlocklist,
KeysBlocklist: c.KeysBlocklist,
})

return &airbrakeNotifier{notifier: notifier}, notifier, nil
Expand Down
19 changes: 8 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ module github.com/theplant/appkit
go 1.17

require (
github.com/airbrake/gobrake/v4 v4.2.0
github.com/airbrake/gobrake/v5 v5.3.0
github.com/aws/aws-sdk-go v1.24.5
github.com/cenkalti/backoff v2.2.1+incompatible
github.com/go-kit/kit v0.9.0
github.com/goji/httpauth v0.0.0-20160601135302-2da839ab0f4d
github.com/golang/protobuf v1.4.3
github.com/golang/protobuf v1.5.2
github.com/google/uuid v1.3.0
github.com/gorilla/sessions v1.2.0
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
Expand All @@ -25,9 +25,9 @@ require (
github.com/rs/cors v1.7.0
github.com/theplant/testingutils v0.0.0-20190603093022-26d8b4d95c61
github.com/uber/jaeger-client-go v2.29.1+incompatible
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a
google.golang.org/grpc v1.43.0
google.golang.org/protobuf v1.25.0
google.golang.org/protobuf v1.26.0
)

require (
Expand All @@ -36,8 +36,7 @@ require (
github.com/caio/go-tdigest v3.1.0+incompatible // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logfmt/logfmt v0.4.0 // indirect
github.com/golang/snappy v0.0.1 // indirect
github.com/google/go-cmp v0.5.4 // indirect
github.com/golang/snappy v0.0.3 // indirect
github.com/gorilla/securecookie v1.1.1 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.1 // indirect
Expand All @@ -52,19 +51,17 @@ require (
github.com/jonboulle/clockwork v0.2.3 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/pierrec/lz4 v2.0.5+incompatible // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
go.uber.org/atomic v1.9.0 // indirect
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 // indirect
golang.org/x/sys v0.0.0-20210510120138-977fb7262007 // indirect
golang.org/x/text v0.3.3 // indirect
golang.org/x/net v0.0.0-20210510120150-4163338589ed // indirect
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
golang.org/x/text v0.3.6 // indirect
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
gonum.org/v1/gonum v0.8.2 // indirect
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
gopkg.in/square/go-jose.v2 v2.3.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
Loading