Skip to content

Commit

Permalink
Merge pull request #46 from exaring/use-module-filter-to-drop-zap-frames
Browse files Browse the repository at this point in the history
fix: use module matching to filter out zap
  • Loading branch information
TheZeroSlave authored Mar 30, 2024
2 parents 9b78836 + 999e47a commit 750a11b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frame_matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type FrameMatcher interface {
var (
defaultFrameMatchers = FrameMatchers{
SkipModulePrefixFrameMatcher("github.com/TheZeroSlave/zapsentry"),
SkipFunctionPrefixFrameMatcher("go.uber.org/zap"),
SkipModulePrefixFrameMatcher("go.uber.org/zap"),
}
)

Expand Down
2 changes: 1 addition & 1 deletion frame_matcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func Test_core_filterFrames(t *testing.T) {
args: args{
[]sentry.Frame{
{
Function: "go.uber.org/zap/String",
Module: "go.uber.org/zap",
},
},
},
Expand Down

0 comments on commit 750a11b

Please sign in to comment.