Loading TangoAccessControl/main.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -66,20 +66,20 @@ int main(int argc,char *argv[]) // Run the endless loop //---------------------------------------- cout << "Ready to accept request" << std::endl; TANGO_LOG_INFO << "Ready to accept request" << std::endl; tg->server_run(); } catch (std::bad_alloc) { cout << "Can't allocate memory to store device object !!!" << std::endl; cout << "Exiting" << std::endl; TANGO_LOG_INFO << "Can't allocate memory to store device object !!!" << std::endl; TANGO_LOG_INFO << "Exiting" << std::endl; } catch (CORBA::Exception &e) { Tango::Except::print_exception(e); cout << "Received a CORBA_Exception" << std::endl; cout << "Exiting" << std::endl; TANGO_LOG_INFO << "Received a CORBA_Exception" << std::endl; TANGO_LOG_INFO << "Exiting" << std::endl; } tg->server_cleanup(); return(0); Loading Loading
TangoAccessControl/main.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -66,20 +66,20 @@ int main(int argc,char *argv[]) // Run the endless loop //---------------------------------------- cout << "Ready to accept request" << std::endl; TANGO_LOG_INFO << "Ready to accept request" << std::endl; tg->server_run(); } catch (std::bad_alloc) { cout << "Can't allocate memory to store device object !!!" << std::endl; cout << "Exiting" << std::endl; TANGO_LOG_INFO << "Can't allocate memory to store device object !!!" << std::endl; TANGO_LOG_INFO << "Exiting" << std::endl; } catch (CORBA::Exception &e) { Tango::Except::print_exception(e); cout << "Received a CORBA_Exception" << std::endl; cout << "Exiting" << std::endl; TANGO_LOG_INFO << "Received a CORBA_Exception" << std::endl; TANGO_LOG_INFO << "Exiting" << std::endl; } tg->server_cleanup(); return(0); Loading