Slightly improve presentation of exceptions.
authorCarl Hetherington <cth@carlh.net>
Wed, 29 Jul 2015 19:35:26 +0000 (20:35 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 29 Jul 2015 19:35:26 +0000 (20:35 +0100)
src/tools/dcpomatic.cc

index 896ada0904c745a4d3f77608a2cfb00dc8190d68..02c34a3e2c15bcfb7a487416e8f3fd18bbe8ead9 100644 (file)
@@ -883,7 +883,7 @@ private:
                try {
                        throw;
                } catch (FileError& e) {
-                       error_dialog (0, wxString::Format (_("An exception occurred: %s in %s.\n\n" + REPORT_PROBLEM), e.what(), e.file().string().c_str ()));
+                       error_dialog (0, wxString::Format (_("An exception occurred: %s (%s).\n\n" + REPORT_PROBLEM), e.what(), e.file().string().c_str ()));
                } catch (exception& e) {
                        error_dialog (0, wxString::Format (_("An exception occurred: %s.\n\n"), e.what ()) + "  " + REPORT_PROBLEM);
                } catch (...) {