Permalink
Browse files

log_this call has to come before db update or it only echos, doesn't …

…write to db
  • Loading branch information...
Jake Maul
Jake Maul committed Jun 12, 2013
1 parent d3be682 commit d814eb8ea6373299ef725e3b3ac06fc34f0036bf
Showing with 1 addition and 2 deletions.
  1. +1 −2 sentry/sentry.pl
View
@@ -276,7 +276,6 @@ sub log_this {
# content-type == text/plain hack here for Mac dmg's
}
- $log_sth->execute($start_timestamp, $mirror->{id}, '1', $mirror->{rating}, $output);
-
log_this "Finished. Elapsed time: " . (time - $start_timestamp) . ".\n";
+ $log_sth->execute($start_timestamp, $mirror->{id}, '1', $mirror->{rating}, $output);
}

0 comments on commit d814eb8

Please sign in to comment.