Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
Add nicer error message when metadata request fails (#206) (#214)
Browse files Browse the repository at this point in the history
Signed-off-by: lastchiliarch <[email protected]>
  • Loading branch information
lastchiliarch authored Jul 8, 2021
1 parent baea74b commit 3f1d661
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 @@ -201,7 +201,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")
e.Errorf("Failed to open publisher: %s: writing log entry to pipeline without metadata", err)
e.sendEvent(ctx, simpleEvent)
return
}
Expand Down

0 comments on commit 3f1d661

Please sign in to comment.