From 6e2443d268331a558b6ac2a3fd13a75d2b9e7ca4 Mon Sep 17 00:00:00 2001
From: Richard Harrison <rjh@zaretto.com>
Date: Sun, 20 Jan 2019 23:25:20 +0100
Subject: [PATCH] Change to print exception type (inherited exceptions)

---
 src/Main/fg_init.cxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx
index b8dd85b36..53311643a 100644
--- a/src/Main/fg_init.cxx
+++ b/src/Main/fg_init.cxx
@@ -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();