From 0cfa44b16e412c7fbe1069d0cc83dfed486403b3 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 14 Sep 2020 11:52:14 +0300 Subject: Fixed issue with MS event logger un initialized events... --- .../Tango.MachineStudio.Common/EventLogging/DefaultEventLogger.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Software/Visual_Studio') diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/DefaultEventLogger.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/DefaultEventLogger.cs index 613b443df..4da1121b7 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/DefaultEventLogger.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/DefaultEventLogger.cs @@ -210,6 +210,8 @@ namespace Tango.MachineStudio.Common.EventLogging /// The machine event. public void Log(MachinesEvent machineEvent) { + Init(); + machineEvent.HostName = _hostName; machineEvent.EventType = _eventTypesGuids[machineEvent.Type]; -- cgit v1.3.1