Skip to content

Commit

Permalink
Added glide.yaml with versions. Small update in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Sotnikov committed Sep 2, 2019
1 parent a2399f2 commit 8d59d83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func modifyToSentryLogger(log *zap.Logger, DSN string) *zap.Logger {
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")
log.Warn("failed to init zap", zap.Error(err))
}
return zapsentry.AttachCoreToLogger(core, log)
}
Expand Down
8 changes: 8 additions & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: zapsentry
import:
- package: github.com/getsentry/sentry-go
version: ^0.1.0
- package: go.uber.org/zap
version: ^1.0.0
subpackages:
- zapcore

0 comments on commit 8d59d83

Please sign in to comment.