test #2504

Merged
carlosap merged 5 commits from test into dev 2024-05-23 11:42:24 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 86a6211cd8 - Show all commits

View File

@ -5,7 +5,7 @@ module.exports = Self => {
return new UserError(`This PDA is already assigned to another user`);
if (err.code === 'ER_SIGNAL_EXCEPTION' && err.sqlMessage === 'You can only have one active PDA')
return new UserError(`You can only have one active PDA`);
return new UserError(err.sqlMessage);
return err;
});
};