mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
More specific error message added
Former-commit-id: a754822d72a7a7fbf68b923423cc9beb5eb74194
This commit is contained in:
parent
efa21214e3
commit
9ff76ad97e
@ -1 +1 @@
|
|||||||
265d49d7ea3ac292bf6406132955c3c1bf610509
|
ebda31a60195d645efb523164516c049a2f9b823
|
@ -191,7 +191,14 @@ int LedDeviceLightpack::open()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
std::cerr << "No Lightpack device has been found" << std::endl;
|
if (_serialNumber.empty())
|
||||||
|
{
|
||||||
|
std::cerr << "No Lightpack device has been found" << std::endl;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
std::cerr << "No Lightpack device has been found with serial " << _serialNumber << std::endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return _deviceHandle == nullptr ? -1 : 0;
|
return _deviceHandle == nullptr ? -1 : 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user