Skip to content

Commit

Permalink
nicer error when windows event fails but we still publish the message…
Browse files Browse the repository at this point in the history
… (without metadata)
  • Loading branch information
jsirianni committed Jun 24, 2021
1 parent 3d5afac commit 4998b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/builtin/input/windows/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (e *EventLogInput) processEvent(ctx context.Context, event Event) {

publisher := NewPublisher()
if err := publisher.Open(simpleEvent.Provider.Name); err != nil {
e.Errorf("Failed to open publisher: %s", err)
e.Errorf("Failed to open publisher: %s: Submitting entry without further parsing", err)
e.sendEvent(ctx, simpleEvent)
return
}
Expand Down

0 comments on commit 4998b22

Please sign in to comment.