Commit b848a4b5 authored by Francis Dupont's avatar Francis Dupont

[65-libyang-pd-pool] Uniformized throw message

parent 04d1db88
......@@ -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("/");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment