hotFix(closeAll): continue loop #2290
|
@ -152,7 +152,10 @@ module.exports = async function(ctx, Self, tickets, reqArgs = {}) {
|
||||||
VALUES ('invoicingTicketError', ?)
|
VALUES ('invoicingTicketError', ?)
|
||||||
`, [ticket.id + ' - ' + error]);
|
`, [ticket.id + ' - ' + error]);
|
||||||
// Domain not found
|
// Domain not found
|
||||||
if (error.responseCode == 450) return invalidEmail(ticket);
|
if (error.responseCode == 450) {
|
||||||
|
await invalidEmail(ticket);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Save tickets on a list of failed ids
|
// Save tickets on a list of failed ids
|
||||||
failedtickets.push({
|
failedtickets.push({
|
||||||
|
|
Loading…
Reference in New Issue