From 54d607cb361d40eccf2d31da2305423360cc4b09 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Sun, 9 Feb 2025 17:07:17 +0200 Subject: Critical fix on job rgb/lab cmyk & MyColors. --- .../PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs | 4 +++- .../PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs | 4 ++-- .../Synchronization/DefaultMachineDataSynchronizer.cs | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs index 0d64da83e..61bc9574e 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs @@ -139,8 +139,10 @@ namespace Tango.PPC.Common.MachineSetup Token = response.NotifyCompletedToken, Status = BL.Enumerations.TangoUpdateStatuses.SetupFailed, FailedReason = ex.FlattenMessage(), - FailedLog = GetLogsStringAndClear(), + FailedLog = null, }); + + GetLogsStringAndClear(); } catch (Exception xx) { 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 47ffe6f19..80dbef645 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs @@ -253,7 +253,7 @@ namespace Tango.PPC.Common.MachineUpdate Token = response.NotifyCompletedToken, Status = BL.Enumerations.TangoUpdateStatuses.UpdateFailed, FailedReason = ex.FlattenMessage(), - FailedLog = logs, + FailedLog = null, }); } catch (Exception xx) @@ -473,7 +473,7 @@ namespace Tango.PPC.Common.MachineUpdate Token = response.NotifyCompletedToken, Status = BL.Enumerations.TangoUpdateStatuses.DatabaseFailed, FailedReason = ex.FlattenMessage(), - FailedLog = logs, + FailedLog = null, }).Result; } catch (Exception xx) diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs index 61a9f720d..d1fb283b0 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs @@ -593,8 +593,10 @@ namespace Tango.PPC.Common.Synchronization Token = notifyToken, Status = TangoUpdateStatuses.SynchronizationFailed, FailedReason = ex.FlattenMessage(), - FailedLog = GetLogsStringAndClear(), + FailedLog = null, }); + + GetLogsStringAndClear(); } catch (Exception ee) { -- cgit v1.3.1