Skip to content
This repository was archived by the owner on Dec 30, 2024. It is now read-only.

Commit dd4d17f

Browse files
authored
Merge pull request #19 from mattjohnsonpint/master
Set withBreadcrumbs when using NewWithHub
2 parents a5e7c6e + 252583d commit dd4d17f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

writer.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,10 @@ func NewWithHub(hub *sentry.Hub, opts ...WriterOption) (*Writer, error) {
418418
}
419419

420420
return &Writer{
421-
hub: hub,
422-
levels: levels,
423-
flushTimeout: cfg.flushTimeout,
421+
hub: hub,
422+
levels: levels,
423+
flushTimeout: cfg.flushTimeout,
424+
withBreadcrumbs: cfg.breadcrumbs,
424425
}, nil
425426
}
426427

0 commit comments

Comments
 (0)