update for send.js

This commit is contained in:
merelendor 2023-04-07 14:26:46 +03:00
parent 65c95fce8d
commit b0ade8d066

View File

@ -241,11 +241,10 @@ export default async function handler(req, res)
resolve();
});
})
.catch((error) =>
.catch((crm_send_error) =>
{
console.error(error);
console.error("-".repeat(30), "error.response.data:");
console.error(error.response.data);
console.error("crm_send_error");
console.error(crm_send_error);
res.status(500).send();
resolve();