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

Add nicer error message when metadata request fails (#206) #214

Merged
merged 1 commit into from
Jul 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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