Changes in src/Actions/ActionQueue.cpp [a61dbb:d93b4b3]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/ActionQueue.cpp
ra61dbb rd93b4b3 145 145 run_thread.sleep(boost::get_system_time() + boost::posix_time::milliseconds(100)); 146 146 #else 147 run_thread.sleep_for(100);147 boost::this_thread::sleep_for(boost::chrono::milliseconds(100)); 148 148 #endif 149 149 } catch(boost::thread_interrupted &e) { … … 162 162 try { 163 163 actionqueue[CurrentAction]->call(); 164 pushStatus("SUCCESS: Action "+actionqueue[CurrentAction]->getName()+" successful."); 164 165 lastActionOk = true; 165 166 } 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."); 167 168 World::getInstance().setExitFlag(5); 168 169 actionqueue.clear();
Note:
See TracChangeset
for help on using the changeset viewer.