From 70f02677e29c3bd0de8d9f88a0ead8e8e9c69cbc Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 25 May 2020 15:08:38 +0300 Subject: Fixed issue with update error message. --- .../PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs index ae77c26d0..29bffb945 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs @@ -973,7 +973,7 @@ namespace Tango.PPC.Common.MachineUpdate if (!_machineProvider.MachineOperator.CanPrint) { - throw LogManager.Log(new InvalidOperationException($"Could not perform an update while the machine is in {_machineProvider.MachineOperator} status.")); + throw LogManager.Log(new InvalidOperationException($"Could not perform an update while the machine is in {_machineProvider.MachineOperator.Status} status.")); } UpdateProgress("Updating Database", "Initializing..."); -- cgit v1.3.1