Be more explicit about the exception that is raised when constructing the application.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 28 Dec 2007 15:46:30 +0000 (15:46 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 28 Dec 2007 15:46:30 +0000 (15:46 +0000)
git-svn-id: http://svn.voria.com/code@1241 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/app.cpp

index cc19fbe..b9b0f86 100644 (file)
@@ -1200,6 +1200,10 @@ App::App(int *argc, char ***argv):
 
                toolbox->present();
        }
+       catch(String x)
+       {
+               get_ui_interface()->error(_("Unknown exception caught when constructing App.\nThis software may be unstable.") + String("\n\n") + x);
+       }
        catch(...)
        {
                get_ui_interface()->error(_("Unknown exception caught when constructing App.\nThis software may be unstable."));