summaryrefslogtreecommitdiffstats
path: root/src/RemoteControl.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2012-08-16 18:05:40 +0200
committerMatthias P. Braendli (think) <matthias@mpb.li>2012-08-16 18:05:40 +0200
commitb946ff6bceef6150f19da0a86950ed9ebbf0c2cb (patch)
tree6987a458cdb324a0155f7f8d36fc1ecc0d336bb3 /src/RemoteControl.cpp
parent521ee81560be5d065bd090002a2c6b92a322a034 (diff)
downloaddabmod-b946ff6bceef6150f19da0a86950ed9ebbf0c2cb.tar.gz
dabmod-b946ff6bceef6150f19da0a86950ed9ebbf0c2cb.tar.bz2
dabmod-b946ff6bceef6150f19da0a86950ed9ebbf0c2cb.zip
crc-dabmod: removed useless set_parameters from remote_control
Diffstat (limited to 'src/RemoteControl.cpp')
-rw-r--r--src/RemoteControl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/RemoteControl.cpp b/src/RemoteControl.cpp
index 53b7204..ad745db 100644
--- a/src/RemoteControl.cpp
+++ b/src/RemoteControl.cpp
@@ -191,6 +191,9 @@ RemoteControllerTelnet::dispatch_command(tcp::socket& socket, string command)
catch (ParameterError &e) {
reply(socket, e.what());
}
+ catch (exception &e) {
+ reply(socket, "Error: Invalid parameter value. ");
+ }
}
else
{