Skip to content

Commit

Permalink
Handle runtime_error
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Jul 15, 2021
1 parent e5dbd42 commit d956160
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions launcher/launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -589,4 +589,9 @@ int main(int argc, char* argv[])
cout << "ERROR: Invalid input. " << err.what() << std::endl;
return 1;
}
catch (runtime_error& err)
{
cout << "runtime_error: " << err.what() << std::endl;
throw;
}
}

0 comments on commit d956160

Please sign in to comment.