Skip to content

Commit

Permalink
Fix console output (elastic#4045)
Browse files Browse the repository at this point in the history
* fix missing return

(cherry picked from commit 18525be)
  • Loading branch information
glefloch authored and ruflin committed Apr 27, 2017
1 parent 0c5f94b commit 8e5f1cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libbeat/outputs/console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func (c *console) PublishEvent(
}

op.SigCompleted(s)
return nil
fail:
if opts.Guaranteed {
logp.Critical("Unable to publish events to console: %v", err)
Expand Down

0 comments on commit 8e5f1cb

Please sign in to comment.