Removing run time error from AURA USB detection
+ Adding LOG message + Deleting object
This commit is contained in:
parent
1dd9148399
commit
bf22e175c1
2 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue