There is no MonSelectFallback if we compile w/o USE_MONITORING, so

we can't use macro FALLBACK_OR_EXCEPTION here - we need to call
AmSession::Exception(...) directly.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1908 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Peter Lemenkov 16 years ago
parent 44684bdb23
commit f99f9cc9a4

@ -592,7 +592,7 @@ void DSMFactory::runMonitorAppSelect(const AmSipRequest& req, string& start_diag
#else
ERROR("using $(mon_select) for dsm application, "
"but compiled without monitoring support!\n");
FALLBACK_OR_EXCEPTION(500, "Internal Server Error");
throw AmSession::Exception(500, "Internal Server Error");
#endif
#undef FALLBACK_OR_EXCEPTION

Loading…
Cancel
Save