\r
if(executor_.size() > 64)\r
{\r
- CASPAR_LOG(error) << "AMCP Command Queue Overflow.";\r
- CASPAR_LOG(error) << "Failed to execute command:" << pCurrentCommand->print();\r
- pCurrentCommand->SetReplyString(L"500 FAILED");\r
- pCurrentCommand->SendReply();\r
+ try\r
+ {\r
+ CASPAR_LOG(error) << "AMCP Command Queue Overflow.";\r
+ CASPAR_LOG(error) << "Failed to execute command:" << pCurrentCommand->print();\r
+ pCurrentCommand->SetReplyString(L"500 FAILED");\r
+ pCurrentCommand->SendReply();\r
+ }\r
+ catch(...)\r
+ {\r
+ CASPAR_LOG_CURRENT_EXCEPTION();\r
+ }\r
}\r
\r
executor_.begin_invoke([=]\r