[mapguide-commits] r9432 - trunk/MgDev/Server/src/Core

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Jan 2 10:22:51 PST 2019


Author: jng
Date: 2019-01-02 10:22:51 -0800 (Wed, 02 Jan 2019)
New Revision: 9432

Modified:
   trunk/MgDev/Server/src/Core/Server.cpp
Log:
If server fails to startup due to coordsys catalog init failure, show the message of the caught exception

Modified: trunk/MgDev/Server/src/Core/Server.cpp
===================================================================
--- trunk/MgDev/Server/src/Core/Server.cpp	2019-01-02 12:14:52 UTC (rev 9431)
+++ trunk/MgDev/Server/src/Core/Server.cpp	2019-01-02 18:22:51 UTC (rev 9432)
@@ -752,6 +752,7 @@
                 if (NULL != mgException)
                 {
                     ACE_DEBUG((LM_ERROR, ACE_TEXT("(%t) MgServer::open() - The MentorDictionaryPath setting is invalid. The coordinate system engine could not be initialized.\n")));
+                    ACE_DEBUG((LM_ERROR, ACE_TEXT("(%t) The thrown error was: %W"), mgException->GetExceptionMessage().c_str()));
                 }
             }
             else



More information about the mapguide-commits mailing list