aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-09-14 11:52:14 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-09-14 11:52:14 +0300
commit0cfa44b16e412c7fbe1069d0cc83dfed486403b3 (patch)
treedb770c5c290392e3cf5ae986662fbe2c5060dc20 /Software/Visual_Studio
parent11a75198a9aaaa308d9317c5e7e1c9f4b7f59ee5 (diff)
downloadTango-0cfa44b16e412c7fbe1069d0cc83dfed486403b3.tar.gz
Tango-0cfa44b16e412c7fbe1069d0cc83dfed486403b3.zip
Fixed issue with MS event logger un initialized events...
Diffstat (limited to 'Software/Visual_Studio')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/EventLogging/DefaultEventLogger.cs2
1 files changed, 2 insertions, 0 deletions
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
/// <param name="machineEvent">The machine event.</param>
public void Log(MachinesEvent machineEvent)
{
+ Init();
+
machineEvent.HostName = _hostName;
machineEvent.EventType = _eventTypesGuids[machineEvent.Type];