Permalink
Browse files

missing log line for 403/404 failure codes

  • Loading branch information...
1 parent 842df53 commit 8a417a4c87a70788ef9dfedfe9af1141348509f6 Jake Maul committed Nov 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 sentry/sentry.pl
View
1 sentry/sentry.pl
@@ -265,6 +265,7 @@ sub log_this {
$update_sth->execute($location->{id}, $mirror->{id}, '1', '1');
}
elsif (( $res->{_rc} == 404 ) || ( $res->{_rc} == 403 )) {
+ log_this "FAILED. rc=" . $res->{_rc} . "\n";
$update_sth->execute($location->{id}, $mirror->{id}, '0', '0');
}
else {

0 comments on commit 8a417a4

Please sign in to comment.