Skip to content
Snippets Groups Projects
Commit b15f4136 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by olivier stasse
Browse files

Fix rethrow of exception.

parent a9429f28
No related branches found
No related tags found
No related merge requests found
......@@ -211,8 +211,8 @@ void SotLoader::oneIteration() {
try {
sotController_->nominalSetSensors(sensorsIn_);
sotController_->getControl(controlValues_);
} catch (std::exception &e) {
throw e;
} catch (std::exception &) {
throw;
}
readControl(controlValues_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment