Use parentheses

This commit is contained in:
gregoirenovel 2018-10-15 16:57:06 +02:00
parent 5e9e913dce
commit 6be26af7db

View file

@ -4,7 +4,7 @@ module ApiAdresse
def self.convert_adresse_to_point(address) def self.convert_adresse_to_point(address)
ApiAdresse::PointRetriever.new(address).point ApiAdresse::PointRetriever.new(address).point
rescue RestClient::Exception, JSON::ParserError => e rescue RestClient::Exception, JSON::ParserError => e
Rails.logger.error e.message Rails.logger.error(e.message)
nil nil
end end
end end