Skip to content

Commit

Permalink
Prevent event data being over writed when multiple plugins called (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Revoledo authored and serkantkaraca committed Oct 16, 2018
1 parent b5c968c commit ee7804b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.Azure.EventHubs/EventDataSender.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async Task<EventData> ProcessEvent(EventData eventData)
try
{
EventHubsEventSource.Log.PluginCallStarted(plugin.Name, ClientId);
processedEvent = await plugin.BeforeEventSend(eventData).ConfigureAwait(false);
processedEvent = await plugin.BeforeEventSend(processedEvent).ConfigureAwait(false);
EventHubsEventSource.Log.PluginCallCompleted(plugin.Name, ClientId);
}
catch (Exception ex)
Expand Down

0 comments on commit ee7804b

Please sign in to comment.