From 5bce9837a15647bc07977be0c304f5bd0bf212c2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 Jul 2015 20:35:26 +0100 Subject: Slightly improve presentation of exceptions. --- src/tools/dcpomatic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 896ada090..02c34a3e2 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -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 (...) { -- cgit v1.2.3