summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-29 20:35:26 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-29 20:35:26 +0100
commit5bce9837a15647bc07977be0c304f5bd0bf212c2 (patch)
treef23ad945125762896e7a42470cf332b01a4a9ed6 /src
parenta0d1dd5d91c81ec9907cbc7b890905c463c18f62 (diff)
Slightly improve presentation of exceptions.
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic.cc2
1 files changed, 1 insertions, 1 deletions
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 (...) {