Use parentheses
This commit is contained in:
parent
5e9e913dce
commit
6be26af7db
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue