aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/RemoteControl.cpp2
-rw-r--r--src/output/Dexter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/RemoteControl.cpp b/lib/RemoteControl.cpp
index 6e9af20..16359ad 100644
--- a/lib/RemoteControl.cpp
+++ b/lib/RemoteControl.cpp
@@ -193,7 +193,7 @@ RemoteControllable* RemoteControllers::get_controllable_(const std::string& name
[&](RemoteControllable* r) { return r->get_rc_name() == name; });
if (rc == controllables.end()) {
- throw ParameterError("Module name unknown");
+ throw ParameterError(string{"Module name '"} + name + "' unknown");
}
else {
return *rc;
diff --git a/src/output/Dexter.cpp b/src/output/Dexter.cpp
index dd51517..9c16ea7 100644
--- a/src/output/Dexter.cpp
+++ b/src/output/Dexter.cpp
@@ -204,7 +204,7 @@ Dexter::Dexter(SDRDeviceConfig& config) :
pacontrol_set_targetpower(m_zmq_sock, *m_conf.pacontrol_targetpower);
}
else {
- etiLog.level(warn) << "Config does not defined PA target power";
+ etiLog.level(warn) << "Config does not define PA target power";
}
}