diff options
| author | Roy <Roy.mail.net@gmail.com> | 2022-08-03 18:19:45 +0300 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2022-08-03 18:19:45 +0300 |
| commit | b9cc26346a5d3cfa07d8e203aa5743cf2fc08500 (patch) | |
| tree | cc3903e9cee43140c70316529cc7588fb6769034 /Software/Visual_Studio | |
| parent | 4bd401b6165128a151bcb5c97c0c6ae9ea7f69ee (diff) | |
| download | Tango-b9cc26346a5d3cfa07d8e203aa5743cf2fc08500.tar.gz Tango-b9cc26346a5d3cfa07d8e203aa5743cf2fc08500.zip | |
Fixed spool type changed log
Diffstat (limited to 'Software/Visual_Studio')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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<SpoolTypeChangedRequest, SpoolTypeChangedResponse>(new SpoolTypeChangedRequest() |
