Skip to content

Commit

Permalink
Remove useless error checking in README.md (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peltoche authored and boaz0 committed Apr 18, 2018
1 parent ebf0085 commit 1e961e8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ func main() {
}
hook := logrustash.New(conn, logrustash.DefaultFormatter(logrus.Fields{"type": "myappName"}))

if err != nil {
log.Fatal(err)
}
log.Hooks.Add(hook)
ctx := log.WithFields(logrus.Fields{
"method": "main",
Expand Down

0 comments on commit 1e961e8

Please sign in to comment.