Skip to content

Commit

Permalink
change the error api from zerolog when handling errors (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgh87 committed Dec 3, 2022
1 parent e5d03f7 commit 34f4f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (l *Logger) Error() *Event {
}

func (l *Logger) Err(err error) *Event {
e := l.Logger.Error().Err(err)
e := l.Logger.Err(err)
return &Event{e}
}

Expand Down

0 comments on commit 34f4f5e

Please sign in to comment.