aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-05-03 13:15:09 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-05-03 13:15:09 +0100
commit0104b5a9576ec8175984d9ca1af755a2ab46774d (patch)
tree66a449ed81aeeaefc0e56055a25c62152acb352b
parent1a84ff9e9c0675f9487da08e7f5d11088a5d79f8 (diff)
[Open311] Always try and send updates if verbose.
Otherwise we may not warn on otherwise skipped updates.
-rwxr-xr-xbin/send-comments4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/send-comments b/bin/send-comments
index ce4318f71..22c2cef8f 100755
--- a/bin/send-comments
+++ b/bin/send-comments
@@ -125,9 +125,7 @@ while ( my $body = $bodies->next ) {
);
}
- if ( $comment->send_fail_count ) {
- next if retry_timeout( $comment );
- }
+ next if !$verbose && $comment->send_fail_count && retry_timeout($comment);
if ( $site eq 'fixmystreet.com' && $body->areas->{+COUNCIL_ID_BROMLEY} ) {
my $extra = $comment->extra;