wesnothd: remove catch clause for std::exception
it loses too much information about the exception
This commit is contained in:
parent
297ee3d1ce
commit
a6923bfef0
1 changed files with 1 additions and 6 deletions
|
@ -3081,12 +3081,7 @@ int main(int argc, char** argv)
|
|||
}
|
||||
}
|
||||
|
||||
try {
|
||||
wesnothd::server(port, keep_alive, config_file, min_threads, max_threads).run();
|
||||
} catch(const std::exception& e) {
|
||||
ERR_SERVER << "terminated by C++ exception: " << e.what() << std::endl;
|
||||
return 1;
|
||||
}
|
||||
wesnothd::server(port, keep_alive, config_file, min_threads, max_threads).run();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue