mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-13 18:39:25 -04:00
Removing run time error from AURA USB detection
+ Adding LOG message + Deleting object
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user