Removing run time error from AURA USB detection

+ Adding LOG message
+ Deleting object
This commit is contained in:
Chris committed 2021-12-21 09:05:51 +11:00
1 parent 1dd9148399
commit bf22e175c1
2 files changed
+3 -3

No files matched your search

@@ -100,9 +100,8 @@ void AuraUSBController::GetConfigTable()
}
else
{
hid_close(dev);
throw std::runtime_error("Could not read config table");
LOG_INFO("[%s] Could not read config table, can not add device", device_name);
delete this;
}
}
@@ -8,6 +8,7 @@
\*-----------------------------------------*/
#include "RGBController.h"
#include "LogManager.h"
#include <string>
#include <vector>