I noticed also that Promise
function deleteUser(userId) {
return this.managementClient
.deleteUser({ id: userId })
.then(user => user)
.catch(err => err);
}
dosen’t catch error when we send not existing userId.
I noticed also that Promise
function deleteUser(userId) {
return this.managementClient
.deleteUser({ id: userId })
.then(user => user)
.catch(err => err);
}
dosen’t catch error when we send not existing userId.