ошибки

This commit is contained in:
Dmitry Borisenko
2022-11-22 16:04:50 +01:00
parent b49c4ecb1a
commit 96d623f53b
2 changed files with 10 additions and 11 deletions

View File

@@ -17,13 +17,13 @@ void SerialPrint(const String& errorLevel, const String& module, const String& m
}
}
// if (errorLevel == "E") {
// cleanString(tosend);
// // создаем событие об ошибке для возможной реакции в сценарии
// if (itemId != "") {
// createItemFromNet(itemId + "_onError", tosend, -4);
// } else {
// createItemFromNet("onError", tosend, -4);
// }
// }
if (errorLevel == "E") {
cleanString(tosend);
// создаем событие об ошибке для возможной реакции в сценарии
if (itemId != "") {
createItemFromNet(itemId + "_onError", tosend, -4);
} else {
// createItemFromNet("onError", tosend, -4);
}
}
}