Adding additional logging for event publish errors