aboutsummaryrefslogtreecommitdiffstats
path: root/src/RemoteControl.cpp
diff options
context:
space:
mode:
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
{