diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-04 22:11:10 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-04 22:11:10 +0000 |
| commit | 81f361a0da4eef3ce83d003204042104d5555d39 (patch) | |
| tree | 2c858578ccc80c92c034b858cbb0d15064cbc5f1 /src/lib/send_problem_report_job.cc | |
| parent | 7fc0f6e56c25f01b3bc42f8b5f8d3cf5935bb875 (diff) | |
Ensure basic system information is in problem reports.
Diffstat (limited to 'src/lib/send_problem_report_job.cc')
| -rw-r--r-- | src/lib/send_problem_report_job.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/send_problem_report_job.cc b/src/lib/send_problem_report_job.cc index 139bdb81c..89fe2a715 100644 --- a/src/lib/send_problem_report_job.cc +++ b/src/lib/send_problem_report_job.cc @@ -25,6 +25,8 @@ #include "log.h" #include "version.h" #include "emailer.h" +#include "environment_info.h" +#include <boost/foreach.hpp> #include "i18n.h" @@ -71,6 +73,12 @@ SendProblemReportJob::run () body += "Version: " + string (dcpomatic_version) + " " + string (dcpomatic_git_commit) + "\n\n"; + BOOST_FOREACH (string i, environment_info ()) { + body += i + "\n"; + } + + body += "\n"; + if (_film) { body += "log head and tail:\n"; body += "---<8----\n"; |
