diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-04-27 10:28:45 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-04-27 10:29:47 +0100 |
commit | 287aeeb8ca593e7d547ea1595abf3d942a7139cf (patch) | |
tree | 215841ad63820716a1599979e3c2ab8c1eb1ac24 /perllib/FixMyStreet/SendReport/Angus.pm | |
parent | 500945197af56550dc5926278f9a8fa2e655162c (diff) |
Store Open311 error in report on failure.
It will still output via cron on the first failure. However, reduce the
verbosity of a couple of SendReport modules which are reporting failure
every time.
Diffstat (limited to 'perllib/FixMyStreet/SendReport/Angus.pm')
-rw-r--r-- | perllib/FixMyStreet/SendReport/Angus.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/SendReport/Angus.pm b/perllib/FixMyStreet/SendReport/Angus.pm index 15441cc1f..cab5de173 100644 --- a/perllib/FixMyStreet/SendReport/Angus.pm +++ b/perllib/FixMyStreet/SendReport/Angus.pm @@ -160,7 +160,6 @@ sub send { } } catch { my $e = $_; - print "Caught an error: $e\n"; $self->error( "Error sending to Angus: $e" ); }; $self->success( !$return ); |