diff --git a/projet/front/element-style.js b/projet/front/element-style.js
index 08c942ed7156a7d12745a8b785594e1208a2023f..fdebbaf293f49dae6fe5a11f9cc06c3c7a5894d7 100644
--- a/projet/front/element-style.js
+++ b/projet/front/element-style.js
@@ -37,7 +37,6 @@ lng: 6.1459
 login: "a"
 paths: "/a"
 */
-    console.log(infos);
     el.innerHTML = `
         <p>File name : ${infos.file_name}</p>
         <p>Path : ${infos.paths}</p>
diff --git a/projet/sql-request.js b/projet/sql-request.js
index 06cb0aa1d3ad5934572476fb1857f10c568533ea..9559187d1842a4c9c6015c12f0fc7c51ba94efe3 100644
--- a/projet/sql-request.js
+++ b/projet/sql-request.js
@@ -226,7 +226,10 @@ function createPath(path, user, callback) {
 function getInfo(file_id, login, callback){
     const q = `SELECT * FROM Files WHERE file_id='${file_id}';`;
     con.query(q, (err, resp) => {
-        if (err) return callback(false, err);
+        if (err) {
+            console.log(err);
+            return callback(false, err);
+        }
         return callback(resp, resp);
     });
 }