Downgraded non-user thread errors to warnings

This commit is contained in:
EricLiu2000
2019-07-24 13:22:17 -04:00
parent 6f8d307850
commit 66126b2b61
7 changed files with 27 additions and 0 deletions
@@ -29,6 +29,8 @@ void MultiChannelCommunication::readTask() {
std::vector<uint8_t> readBytes;
std::vector<uint8_t> payloadBytes;
EventManager::GetInstance().downgradeErrorsOnCurrentThread();
while(!closing) {
if(readMore) {
readBytes.clear();
@@ -124,4 +126,5 @@ void MultiChannelCommunication::readTask() {
}
}
EventManager::GetInstance().cancelErrorDowngradingOnCurrentThread();
}