Add error logs for non logged exceptions
This commit is contained in:
parent
ddeb5de65e
commit
d8f28b546d
5 changed files with 15 additions and 9 deletions
|
|
@ -222,9 +222,9 @@ void DetectPhilipsHueControllers(std::vector<RGBController*>& rgb_controllers)
|
|||
}
|
||||
}
|
||||
}
|
||||
catch(std::exception &e)
|
||||
catch(const std::exception &e)
|
||||
{
|
||||
LOG_INFO("Exception occurred in Philips Hue detection");
|
||||
LOG_INFO("Exception occurred in Philips Hue detection: %s", e.what());
|
||||
}
|
||||
}
|
||||
} /* DetectPhilipsHueControllers() */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue