Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZeroSlave authored Jan 9, 2018
1 parent cd377f8 commit fc6e49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func modifyToSentryLogger(log *zap.Logger, DSN string) *zap.Logger {
"component": "system",
},
}
core, err := zapsentry.NewZapSentryCore(cfg, zapsentry.NewSentryClientFromDSN(DSN))
core, err := zapsentry.NewCore(cfg, zapsentry.NewSentryClientFromDSN(DSN))
//in case of err it will return noop core. so we can safely attach it
if err != nil {
log.Warn("failed to init zap")
Expand Down

0 comments on commit fc6e49c

Please sign in to comment.