Don't log error class name in Ruby