Changeset 291 in flair-src for trunk/demos/PidStandalone/uav


Ignore:
Timestamp:
Jan 9, 2019, 1:58:48 PM (6 years ago)
Author:
Sanahuja Guillaume
Message:

add exit failure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/PidStandalone/uav/src/main.cpp

    r236 r291  
    115115    headless = headlessArg.getValue();
    116116
    117   } catch (ArgException &e) // catch any exceptions
    118   {
     117  } catch (ArgException &e) {
    119118    cerr << "error: " << e.error() << " for arg " << e.argId() << endl;
     119    exit(EXIT_FAILURE);
    120120  }
    121121}
Note: See TracChangeset for help on using the changeset viewer.