Fixed bugs : uint? -> int? and put back errors in LogEventResult