From c6e5e2e20fe414acb9c3f5dc4b00d91168267b3d Mon Sep 17 00:00:00 2001 From: build-token <build-token> Date: Mon, 3 Oct 2022 14:59:11 +0000 Subject: [PATCH] publish: feat: handle Consent Expired error generated from commit bd173886b7a1ca73a65ec7c68ff277df4f6a2480 --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index 6e1a882..20b2ab3 100644 --- a/index.js +++ b/index.js @@ -217,7 +217,6 @@ async function start(fields, cozyParameters) { boToken, consentEndDate < today ) - // throw errors.USER_ACTION_NEEDED_OAUTH_OUTDATED } } log('info', 'Successfully logged in') @@ -228395,7 +228394,6 @@ async function findUserPdl( return parseUserPdl(parsedReply) } catch (error) { log('error', 'Error while parsing user PDL: ' + error) - if (parsedReply.Envelope.Body.Fault) { log( 'error', -- GitLab