Skip to content

Commit

Permalink
Merge pull request #19 from mattjohnsonpint/master
Browse files Browse the repository at this point in the history
Set withBreadcrumbs when using NewWithHub
  • Loading branch information
archdx authored May 1, 2024
2 parents a5e7c6e + 252583d commit dd4d17f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,10 @@ func NewWithHub(hub *sentry.Hub, opts ...WriterOption) (*Writer, error) {
}

return &Writer{
hub: hub,
levels: levels,
flushTimeout: cfg.flushTimeout,
hub: hub,
levels: levels,
flushTimeout: cfg.flushTimeout,
withBreadcrumbs: cfg.breadcrumbs,
}, nil
}

Expand Down

0 comments on commit dd4d17f

Please sign in to comment.