mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[65-libyang-pd-pool] Uniformized throw message
This commit is contained in:
@@ -101,8 +101,7 @@ TranslatorPdPool::getPdPoolKea(const string& xpath) {
|
||||
ElementPtr result = Element::createMap();
|
||||
ConstElementPtr pref = getItem(xpath + "/prefix");
|
||||
if (!pref) {
|
||||
isc_throw(BadValue, "getPdPoolKea: no prefix defined at requested xpath("
|
||||
<< xpath << "/prefix");
|
||||
isc_throw(BadValue, "getPdPoolKea: no prefix defined at " << xpath);
|
||||
}
|
||||
const string& prefix = pref->stringValue();
|
||||
size_t slash = prefix.find("/");
|
||||
|
Reference in New Issue
Block a user