mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-15 16:36:52 +01:00
Add errno to a Exception property
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -45,10 +45,7 @@ ClientRecvTask::~ClientRecvTask()
|
||||
*/
|
||||
void ClientRecvTask::initialize(int argc, char** argv)
|
||||
{
|
||||
if (_sensorNetwork->initialize() < 0)
|
||||
{
|
||||
throw EXCEPTION(" Can't open the sensor network.\n", 0);
|
||||
}
|
||||
_sensorNetwork->initialize();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user