diff --git a/app/lib/api_adresse/geocodeur.rb b/app/lib/api_adresse/geocodeur.rb index 04b7c5cb2..37953ad91 100644 --- a/app/lib/api_adresse/geocodeur.rb +++ b/app/lib/api_adresse/geocodeur.rb @@ -4,7 +4,7 @@ module ApiAdresse def self.convert_adresse_to_point(address) ApiAdresse::PointRetriever.new(address).point rescue RestClient::Exception, JSON::ParserError => e - Rails.logger.error e.message + Rails.logger.error(e.message) nil end end