Skip to content
Snippets Groups Projects
Commit 62cb05d2 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

Merge branch 'fix/malformed-point-id' into 'dev'

fix: prevent malformed pointId from re-running

See merge request !61
parents c72bee0c 0668d058
No related branches found
No related tags found
2 merge requests!64Merge dev into main,!61fix: prevent malformed pointId from re-running
Pipeline #106721 passed
// @ts-check
const { log } = require('cozy-konnector-libs')
const { log, errors } = require('cozy-konnector-libs')
const moment = require('moment')
const Sentry = require('@sentry/node')
......@@ -239,7 +239,7 @@ function parsePointId(pointId) {
pointId: pointId,
},
})
throw new Error(errorMessage)
throw new Error(errors.USER_ACTION_NEEDED_ACCOUNT_REMOVED)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment