Skip to content

Commit

Permalink
Add one more skip level due to breaking change in github.com/sirupsen…
Browse files Browse the repository at this point in the history
…/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.
  • Loading branch information
Mohamad mehdi Kharatizadeh committed Jan 5, 2019
1 parent 1f9d365 commit 82d1ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry.go
Expand Up @@ -113,7 +113,7 @@ func NewWithClientSentryHook(client *raven.Client, levels []logrus.Level) (*Sent
StacktraceConfiguration: StackTraceConfiguration{
Enable: false,
Level: logrus.ErrorLevel,
Skip: 5,
Skip: 6,
Context: 0,
InAppPrefixes: nil,
SendExceptionType: true,
Expand Down

0 comments on commit 82d1ae2

Please sign in to comment.