diff --git a/index.js b/index.js index 0cc7767e182c9820db85e9858a507bcb50ce14d1..1e6557041d6cbcec19fdd0e80ff8041a82fb1274 100644 --- a/index.js +++ b/index.js @@ -89,7 +89,6 @@ async function start(fields, cozyParameters) { // const apiAuthKey = fields.eglAPIAuthKey const baseUrl = cozyParameters.secret.eglBaseURL const apiAuthKey = cozyParameters.secret.eglAPIAuthKey - log('info', 'Authenticating ...') const response = await authenticate( fields.login, @@ -224,7 +223,6 @@ async function authenticate(login, password, baseUrl, apiAuthKey) { throw new Error() } } catch (error) { - log('error', error) throw new Error(errors.LOGIN_FAILED) } }