]> git.sesse.net Git - casparcg/blobdiff - protocol/amcp/AMCPCommandQueue.cpp
Remove most of boost::lexical_cast.
[casparcg] / protocol / amcp / AMCPCommandQueue.cpp
index e1b60b9f85e869e35aa7fcf1ba946dfdd18a53d3..a731dcce8dcfaa8b64cca721274d0fdcee0cf6dd 100644 (file)
@@ -132,7 +132,7 @@ void AMCPCommandQueue::AddCommand(AMCPCommand::ptr_type pCurrentCommand)
                                CASPAR_LOG(error) << L"Missing parameter. Check syntax. Turn on log level debug for stacktrace.";
                                pCurrentCommand->SetReplyString(L"402 " + pCurrentCommand->print() + L" FAILED\r\n");
                        }
-                       catch (boost::bad_lexical_cast&)
+                       catch (std::invalid_argument&)
                        {
                                CASPAR_LOG_CURRENT_EXCEPTION_AT_LEVEL(debug);
                                CASPAR_LOG(error) << L"Invalid parameter. Check syntax. Turn on log level debug for stacktrace.";