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

fix: prevent malformed pointId from re-running

parent c72bee0c
No related branches found
No related tags found
2 merge requests!64Merge dev into main,!61fix: prevent malformed pointId from re-running
Pipeline #106535 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)
}
}
......
  • build-token @group_1518_bot_2801ee8bae68451533dcea1179b03710

    mentioned in commit 008a5d32

    ·

    mentioned in commit 008a5d32

    Toggle commit list
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