Same suggestion about casing as above. Also please cuddle this to the ned of the unless block above

```ruby
  retry_based_on_criteria = false
  unless retry_based_on_exception
    ...
  end
  log "#{retry_based_on_criteria ? '' : 'not '}retrying based on criteria", args, exception

  retry_based_on_exception || retry_based_on_criteria
end
```