summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-08-20 01:31:36 +0100
committerCarl Hetherington <cth@carlh.net>2015-08-20 01:31:36 +0100
commit334853a13887b4a45445f786e72bb3b623c5c643 (patch)
tree4304cbae27f11faa975df6fd3bfc602064d65a36 /src/lib
parent1a9a577878de628bcdd98dbe1bd6905e165bead8 (diff)
Make sure program version gets into a problem report email.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/send_problem_report_job.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/send_problem_report_job.cc b/src/lib/send_problem_report_job.cc
index f08adea78..7c4a84486 100644
--- a/src/lib/send_problem_report_job.cc
+++ b/src/lib/send_problem_report_job.cc
@@ -24,6 +24,7 @@
#include "film.h"
#include "log.h"
#include "quickmail.h"
+#include "version.h"
#include "i18n.h"
@@ -67,6 +68,8 @@ SendProblemReportJob::run ()
string body = _summary + "\n\n";
+ body += string (dcpomatic_version) + " " + string (dcpomatic_git_commit) + "\n\n";
+
body += "log head and tail:\n";
body += "---<8----\n";
body += _film->log()->head_and_tail ();