Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/ActionQueue.cpp

    ra61dbb rd93b4b3  
    145145      run_thread.sleep(boost::get_system_time() + boost::posix_time::milliseconds(100));
    146146#else
    147       run_thread.sleep_for(100);
     147      boost::this_thread::sleep_for(boost::chrono::milliseconds(100));
    148148#endif
    149149    } catch(boost::thread_interrupted &e) {
     
    162162      try {
    163163        actionqueue[CurrentAction]->call();
     164        pushStatus("SUCCESS: Action "+actionqueue[CurrentAction]->getName()+" successful.");
    164165        lastActionOk = true;
    165166      } catch(ActionFailureException &e) {
    166         std::cerr << "Action " << *boost::get_error_info<ActionNameString>(e) << " has failed." << std::endl;
     167        pushStatus("FAIL: Action "+*boost::get_error_info<ActionNameString>(e)+" has failed.");
    167168        World::getInstance().setExitFlag(5);
    168169        actionqueue.clear();
Note: See TracChangeset for help on using the changeset viewer.