diff --git a/src/index.js b/src/index.js index 00972141928b56938ed89f65966e05ace4f86bf3..b3e57b2b4874cafb562b719c53b86b11eac8995f 100755 --- a/src/index.js +++ b/src/index.js @@ -109,7 +109,7 @@ async function start(fields, cozyParameters) { try { if (!pce) { log('error', 'No PCE found') - throw errors.VENDOR_DOWN + throw errors.USER_ACTION_NEEDED } log('info', `using PCE: ${pce}`) const { access_token } = await getAuthToken(grdfId, grdfSecret)