summaryrefslogtreecommitdiffstats
path: root/src/lib/yang/translator_control_socket.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/yang/translator_control_socket.cc')
-rw-r--r--src/lib/yang/translator_control_socket.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/yang/translator_control_socket.cc b/src/lib/yang/translator_control_socket.cc
index 2f1d3f1bea..e3dabdf6ff 100644
--- a/src/lib/yang/translator_control_socket.cc
+++ b/src/lib/yang/translator_control_socket.cc
@@ -35,7 +35,7 @@ TranslatorControlSocket::getControlSocket(DataNode const& data_node) {
}
} catch (Error const& ex) {
isc_throw(NetconfError,
- "sysrepo error getting control socket: " << ex.what());
+ "getting control socket: " << ex.what());
}
isc_throw(NotImplemented,
"getControlSocket not implemented for the model: " << model_);
@@ -75,7 +75,7 @@ TranslatorControlSocket::setControlSocket(string const& xpath,
}
} catch (Error const& ex) {
isc_throw(NetconfError,
- "sysrepo error setting control socket '" << elem->str()
+ "setting control socket '" << elem->str()
<< "' at '" << xpath << "': " << ex.what());
}
}