Change to print exception type (inherited exceptions)
This commit is contained in:
parent
58314f359a
commit
6e2443d268
1 changed files with 3 additions and 3 deletions
|
@ -1147,7 +1147,7 @@ void fgStartNewReset()
|
|||
try {
|
||||
subsystemManger->remove(nm.c_str());
|
||||
} catch (std::exception& e) {
|
||||
SG_LOG(SG_GENERAL, SG_INFO, "caught std::exception shutting down:" << nm);
|
||||
SG_LOG(SG_GENERAL, SG_INFO, "caught " << e.what() << " << shutting down:" << nm);
|
||||
} catch (...) {
|
||||
SG_LOG(SG_GENERAL, SG_INFO, "caught generic exception shutting down:" << nm);
|
||||
}
|
||||
|
@ -1233,9 +1233,9 @@ void fgStartNewReset()
|
|||
|
||||
sgUserDataInit( globals->get_props() );
|
||||
|
||||
viewer->getDatabasePager()->setUpThreads(1, 1);
|
||||
viewer->getDatabasePager()->setUpThreads(20, 1);
|
||||
|
||||
// must do this before preinit for Rembrandt
|
||||
// must do this before preinit for Rembrandthe
|
||||
flightgear::CameraGroup::buildDefaultGroup(viewer.get());
|
||||
render->preinit();
|
||||
viewer->startThreading();
|
||||
|
|
Loading…
Add table
Reference in a new issue