From b9cc26346a5d3cfa07d8e203aa5743cf2fc08500 Mon Sep 17 00:00:00 2001 From: Roy Date: Wed, 3 Aug 2022 18:19:45 +0300 Subject: Fixed spool type changed log --- Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs') diff --git a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs index c087bd3c1..7ee390aff 100644 --- a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs +++ b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs @@ -4444,10 +4444,10 @@ namespace Tango.Integration.Operation { _currentSpoolType = spoolType; - LogManager.Log($"Spool type changed to: '{spoolType}'."); - if (IsConnected) { + LogManager.Log($"Changing spool type to: '{spoolType}'."); + try { await SendRequest(new SpoolTypeChangedRequest() -- cgit v1.3.1