From b946ff6bceef6150f19da0a86950ed9ebbf0c2cb Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli (think)" Date: Thu, 16 Aug 2012 18:05:40 +0200 Subject: crc-dabmod: removed useless set_parameters from remote_control --- src/RemoteControl.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/RemoteControl.cpp') 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 { -- cgit v1.2.3