Skip to content
Snippets Groups Projects
Commit 8dbb31ed authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

prevention: catch invalid exceptions using ...

parent d9c87c99
No related branches found
No related tags found
No related merge requests found
......@@ -590,6 +590,9 @@ int main()
} catch( string& s ) {
cerr << s << endl;
NRead::clear();
} catch( ... ) {
cerr << "DOUBLE BUG: catched invalid exception\n";
NRead::clear();
}
time_cmd = ((double) (clock() - clock_cmd_i)) / CLOCKS_PER_SEC;
} // end main command loop
......
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