Skip to content

Commit

Permalink
fix missing local variable error in try block
Browse files Browse the repository at this point in the history
  • Loading branch information
ttscoff committed May 4, 2013
1 parent 7fc138d commit 140581e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/twitterlogger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 140581e

Please sign in to comment.