diff options
author | Struan Donald <struan@exo.org.uk> | 2019-02-14 11:05:24 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-03-25 14:41:12 +0000 |
commit | 6435b5cc21de8297b7d2223098fafc449d1aefa7 (patch) | |
tree | 58bc16d0a752a7ae939e165995b1196ff916afae /perllib | |
parent | e0e2cb884766580359a046db8dd7fe7572158c9d (diff) |
more obvious delineation between reports in error email
It can be hard to see where one error stops and a new one begins in the
send reports error emails so put in a more obvious break between them.
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Script/Reports.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Script/Reports.pm b/perllib/FixMyStreet/Script/Reports.pm index c1c4ab3f1..ba629b016 100644 --- a/perllib/FixMyStreet/Script/Reports.pm +++ b/perllib/FixMyStreet/Script/Reports.pm @@ -283,7 +283,7 @@ sub send(;$) { } ); while (my $row = $unsent->next) { my $base_url = FixMyStreet->config('BASE_URL'); - $sending_errors .= "* " . $base_url . "/report/" . $row->id . ", failed " + $sending_errors .= "\n" . '=' x 80 . "\n\n" . "* " . $base_url . "/report/" . $row->id . ", failed " . $row->send_fail_count . " times, last at " . $row->send_fail_timestamp . ", reason " . $row->send_fail_reason . "\n"; } |