diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-02-04 09:20:28 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-02-04 09:20:28 +0000 |
| commit | 0acdcc34f5d582474d586f75d5be627155ad9e08 (patch) | |
| tree | 0d5d2ba3fc8b6fa1ff67e78a3622fdf729c8e964 /src/lib | |
| parent | 072b0b1de6c1bd0b58079affc7e807cc29eb0631 (diff) | |
Don't truncate job statuses in the command line interface, only in the GUI.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/job.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/job.cc b/src/lib/job.cc index 68aa6230a..547b484a3 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -332,11 +332,7 @@ Job::status () const } else if (finished_ok ()) { s << String::compose (_("OK (ran for %1)"), seconds_to_hms (_ran_for)); } else if (finished_in_error ()) { - string es = error_summary (); - if (es.length() > 25) { - es = es.substr (0, 25) + "..."; - } - s << String::compose (_("Error (%1)"), es); + s << String::compose (_("Error (%1)"), error_summary ()); } else if (finished_cancelled ()) { s << _("Cancelled"); } |
