diff --git a/plugins/twitterlogger.rb b/plugins/twitterlogger.rb index f20d37c..c3a392b 100644 --- a/plugins/twitterlogger.rb +++ b/plugins/twitterlogger.rb @@ -234,7 +234,6 @@ def try(&action) if result success = true else - @log.error e retries += 1 @log.error("Error performing action, retrying (#{retries}/#{$options[:max_retries]})") sleep 2