diff --git a/main.go b/main.go
index f3ebea5c4b72940a33d70bdc6677c333ccc7c6df..22f23e73ae70a6195a75ad300aaf29d245b8cab6 100644
--- a/main.go
+++ b/main.go
@@ -25,10 +25,10 @@ func main() {
 		state := query.Get("state")
 		response, err := http.Get("https://gw.hml.api.enedis.fr/group/espace-particuliers/consentement-linky/oauth2/authorize?client_id="+ clientId +"&duration=P6M&redirect_uri=https://oauth-proxy.wf.alpha.grandlyon.com/redirect&response_type=code&state="+ state +"-"+ cozyOrigin)
 		if err != nil {
-			fmt.Printf("%s", err)
+			fmt.Println(err)
 		} else {
 			defer response.Body.Close()
-			contents, err := ioutil.ReadAll(response.Body)
+			contents := ioutil.ReadAll(response.Body)
 			fmt.Printf("%s\n", string(contents))
 		}