Be more explicit about the exception that is raised when constructing the application.
[synfig.git] / 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."));