mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-01 11:07:46 +00:00
Debugging
This commit is contained in:
@@ -91,11 +91,17 @@ namespace OpenWifi{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ValidateUCentralConfiguration(i.configuration, Error)) {
|
try {
|
||||||
/* nothing to do */ ;
|
if (ValidateUCentralConfiguration(i.configuration, Error)) {
|
||||||
std::cout << "Block: " << i.name << " is valid" << std::endl;
|
/* nothing to do */ ;
|
||||||
} else {
|
std::cout << "Block: " << i.name << " is valid" << std::endl;
|
||||||
std::cout << "Block: " << std::endl << ">>>" << std::endl << i.configuration << std::endl << ">>> REJECTED" << std::endl;
|
} else {
|
||||||
|
std::cout << "Block: " << std::endl << ">>>" << std::endl << i.configuration << std::endl
|
||||||
|
<< ">>> REJECTED" << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} catch(...) {
|
||||||
|
std::cout << "Exception in validation" << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user