Skip to content

Commit

Permalink
modules/events_stream: fix dropped error
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs committed Nov 12, 2019
1 parent 9c37907 commit fb0c2df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/events_stream/events_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ func (mod *EventsStream) Configure() (err error) {
mod.output = os.Stdout
} else if mod.outputName, err = fs.Expand(output); err == nil {
mod.output, err = os.OpenFile(mod.outputName, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
return err
}
}
}

Expand Down

0 comments on commit fb0c2df

Please sign in to comment.