diff --git a/src/jobs/shop/modules/roles/components/overDueForPayment.ts b/src/jobs/shop/modules/roles/components/overDueForPayment.ts index 3a834d8..c3cdfd3 100644 --- a/src/jobs/shop/modules/roles/components/overDueForPayment.ts +++ b/src/jobs/shop/modules/roles/components/overDueForPayment.ts @@ -39,16 +39,13 @@ export const execute = async (client: Client, role: IShopRole) => { roleId, guildId, }) - .then(async () => { + .then(() => { logger.silly( `Shop role document ${roleId} has been deleted from user ${userId}.` ); }) - .catch(async (err) => { - throw new Error( - `Error deleting shop role document ${roleId} from user ${userId}.`, - err - ); + .catch(() => { + throw new Error("Failed deleting shop role from user."); }); }) .catch(() => {