From 6d2ffff97b998304345e467e1d43541dcd08dcc6 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 12 Jun 2020 18:42:20 +0200 Subject: [PATCH] fix recipe error msg --- Thermo.Active/Controllers/WebApi/RecipeController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Thermo.Active/Controllers/WebApi/RecipeController.cs b/Thermo.Active/Controllers/WebApi/RecipeController.cs index 084cced3..c77b079e 100644 --- a/Thermo.Active/Controllers/WebApi/RecipeController.cs +++ b/Thermo.Active/Controllers/WebApi/RecipeController.cs @@ -147,7 +147,7 @@ namespace Thermo.Active.Controllers.WebApi CmsError libraryError = ncAdapter.Connect(); if (libraryError.errorCode != 0) { - ThermoActiveLogger.LogError($"NC Not connected! | ConfirmEdit | {libraryError.exception}"); + ThermoActiveLogger.LogError($"NC Not connected! | Recipe ConfirmEdit | {libraryError.exception}"); return InternalServerError(); } @@ -203,7 +203,7 @@ namespace Thermo.Active.Controllers.WebApi CmsError libraryError = ncAdapter.Connect(); if (libraryError.errorCode != 0) { - ThermoActiveLogger.LogError($"NC Not connected! | CancelEdit | {libraryError.exception}"); + ThermoActiveLogger.LogError($"NC Not connected! | Recipe CancelEdit | {libraryError.exception}"); return InternalServerError(); } @@ -441,7 +441,7 @@ namespace Thermo.Active.Controllers.WebApi } catch(Exception exc) { - ThermoActiveLogger.LogError($"SaveCurrentRecipeParams exception | {exc}"); + ThermoActiveLogger.LogError($"Recipe | SaveCurrentRecipeParams exception | {exc}"); } }