Error/exception was not being included in LogEvent due to bug