bbatsov/rubocop — pull request #86 by bolandrm (2013-04-23 02:32:18+00:00)
Title: fix log exception

I got the following exception when I attempted to run rubocop on one of my projects (Looks like the error didn't have a message?):

/Users/ryan/www/gems/rubocop/lib/rubocop/cli.rb:246:in `log_error': undefined method `message' for # (NoMethodError)
from /Users/ryan/www/gems/rubocop/lib/rubocop/cli.rb:234:in `rescue in block in ruby_files'
from /Users/ryan/www/gems/rubocop/lib/rubocop/cli.rb:231:in `block in ruby_files'
from /Users/ryan/www/gems/rubocop/lib/rubocop/cli.rb:229:in `select'
from /Users/ryan/www/gems/rubocop/lib/rubocop/cli.rb:229:in `ruby_files'
from /Users/ryan/www/gems/rubocop/lib/rubocop/cli.rb:200:in `target_files'
from /Users/ryan/www/gems/rubocop/lib/rubocop/cli.rb:44:in `run'
from ../gems/rubocop/bin/rubocop:13:in `block in

'
from /Users/ryan/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
from ../gems/rubocop/bin/rubocop:12:in `

'