diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-09-03 23:53:02 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-09-03 23:53:02 +0100 |
| commit | 3369f4376a13fc9e68edaa4e674b286e5df4b021 (patch) | |
| tree | 9d616339f7dd99af331a6a2431c9ad80973445d4 /src | |
| parent | 4b2cf0764a4091b9466f90e6dbbeb029e04bc2be (diff) | |
Some more verbose errors.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/job.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/job.cc b/src/lib/job.cc index 31f336b65..b5be02b4c 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -120,8 +120,9 @@ Job::run_wrapper () set_error ( String::compose (_("Could not open %1"), e.file().string()), String::compose ( - _("DCP-o-matic could not open the file %1. Perhaps it does not exist or is in an unexpected format."), - boost::filesystem::absolute (e.file()).string() + _("DCP-o-matic could not open the file %1 (%2). Perhaps it does not exist or is in an unexpected format."), + boost::filesystem::absolute (e.file()).string(), + e.what() ) ); @@ -134,8 +135,9 @@ Job::run_wrapper () set_error ( String::compose (_("Could not open %1"), e.path1().string ()), String::compose ( - _("DCP-o-matic could not open the file %1. Perhaps it does not exist or is in an unexpected format."), - boost::filesystem::absolute (e.path1()).string() + _("DCP-o-matic could not open the file %1 (%2). Perhaps it does not exist or is in an unexpected format."), + boost::filesystem::absolute (e.path1()).string(), + e.what() ) ); } else { |
