Skip to content

Commit 82d1ae2

Browse files
author
Mohamad mehdi Kharatizadeh
committed
Add one more skip level due to breaking change in github.com/sirupsen/logrus
Apparently due to this [merge request](sirupsen/logrus#863) another level to stacktrace was introduced. So if we intend to skip it by default we have to increase default number of skips in our configuration.
1 parent 1f9d365 commit 82d1ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func NewWithClientSentryHook(client *raven.Client, levels []logrus.Level) (*Sent
113113
StacktraceConfiguration: StackTraceConfiguration{
114114
Enable: false,
115115
Level: logrus.ErrorLevel,
116-
Skip: 5,
116+
Skip: 6,
117117
Context: 0,
118118
InAppPrefixes: nil,
119119
SendExceptionType: true,

0 commit comments

Comments
 (0)