From 6be26af7dbca020d4a7e99ac5bd1342e388b196f Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Mon, 15 Oct 2018 16:57:06 +0200 Subject: [PATCH] Use parentheses --- app/lib/api_adresse/geocodeur.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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