From 71740c7ea14706986507159f8a0e101940f99d4d Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 27 Jun 2023 11:43:25 +0200 Subject: Add a few cosmetic changes --- lib/RemoteControl.cpp | 2 +- src/output/Dexter.cpp | 2 +- 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"; } } -- cgit v1.2.3