summaryrefslogtreecommitdiff
path: root/src/lib/job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-26 11:53:40 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-26 11:53:40 +0200
commit74e944d9ba137386efff089f9906e64d255836c9 (patch)
treee4b15b1d1164c069b6df036f4f4c0316c665a7e1 /src/lib/job.cc
parent17ef19940f152ceeb2e1ad696dd5e7ac5917d8cd (diff)
Allow customisation of error report email address.
Diffstat (limited to 'src/lib/job.cc')
-rw-r--r--src/lib/job.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/job.cc b/src/lib/job.cc
index 94c23aac6..ee6ad4e70 100644
--- a/src/lib/job.cc
+++ b/src/lib/job.cc
@@ -167,7 +167,7 @@ Job::run_wrapper ()
if (!done) {
set_error (
e.what (),
- string (_("It is not known what caused this error.")) + " " + REPORT_PROBLEM
+ String::compose(_("It is not known what caused this error. %1"), report_problem())
);
}
@@ -202,7 +202,7 @@ Job::run_wrapper ()
} else {
set_error (
e.what (),
- string (_("It is not known what caused this error.")) + " " + REPORT_PROBLEM
+ String::compose(_("It is not known what caused this error. %1"), report_problem())
);
}
@@ -262,7 +262,7 @@ Job::run_wrapper ()
set_error (
e.what (),
- string (_("It is not known what caused this error.")) + " " + REPORT_PROBLEM
+ String::compose(_("It is not known what caused this error. %1"), report_problem())
);
set_progress (1);
@@ -272,7 +272,7 @@ Job::run_wrapper ()
set_error (
_("Unknown error"),
- string (_("It is not known what caused this error.")) + " " + REPORT_PROBLEM
+ String::compose(_("It is not known what caused this error. %1"), report_problem())
);
set_progress (1);