Skip to content

Commit

Permalink
more informative error message in driver
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanielloNTIA committed Nov 5, 2024
1 parent e926f94 commit 7dd864b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/AeronauticalStatisticalModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ DrvrReturnCode
if (rtn == DRVRERR__PARSE)
rtn = DRVRERR__PARSE_PERCENTAGE;
} else {
std::cerr << "Unknown parameter: " << key << std::endl;
rtn = DRVRERR__PARSE;
}

Expand Down
1 change: 1 addition & 0 deletions app/src/HeightGainTerminalCorrectionModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ DrvrReturnCode
= static_cast<ClutterType>(clutter_type_int);
}
} else {
std::cerr << "Unknown parameter: " << key << std::endl;
rtn = DRVRERR__PARSE;
}

Expand Down
1 change: 1 addition & 0 deletions app/src/TerrestrialStatisticalModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ DrvrReturnCode
if (rtn == DRVRERR__PARSE)
rtn = DRVRERR__PARSE_PERCENTAGE;
} else {
std::cerr << "Unknown parameter: " << key << std::endl;
rtn = DRVRERR__PARSE;
}

Expand Down

0 comments on commit 7dd864b

Please sign in to comment.