fix recipe error msg

This commit is contained in:
Samuele Locatelli
2020-06-12 18:42:20 +02:00
parent 134aaf31d4
commit 6d2ffff97b
@@ -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}");
}
}