fixed fallback step-logger
moved vap-grouping to settings-file sanity-checks
This commit is contained in:
@@ -43,7 +43,7 @@ public:
|
||||
void onButtonPress() {
|
||||
|
||||
// sanity check
|
||||
if (isDone()) {throw "all waypoints were processed";}
|
||||
if (isDone()) {throw Exception("all waypoints were processed");}
|
||||
|
||||
// construct output string
|
||||
std::stringstream ss;
|
||||
@@ -142,8 +142,8 @@ private:
|
||||
const std::string fPos = folder + "positions.log";
|
||||
|
||||
// open two output files
|
||||
outButtons.open(fBtn); if (!outButtons.good()) {throw "error while creating file";}
|
||||
outPositions.open(fPos); if (!outPositions.good()) {throw "error while creating file";}
|
||||
outButtons.open(fBtn); if (!outButtons.good()) {throw Exception("error while creating file");}
|
||||
outPositions.open(fPos); if (!outPositions.good()) {throw Exception("error while creating file");}
|
||||
|
||||
// reset current WayPoint
|
||||
curWP = 0;
|
||||
|
||||
Reference in New Issue
Block a user