Merge pull request 'debug(closure): add log' (!2243) from hotFix_closure_logErrors into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2243 Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
commit
927f2e9ebf
|
@ -147,6 +147,10 @@ module.exports = async function(ctx, Self, tickets, reqArgs = {}) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
await Self.rawSql(`
|
||||||
|
INSERT INTO util.debug (variable, value)
|
||||||
|
VALUES ('invoicingTicketError', ?)
|
||||||
|
`, [ticket.id + ' - ' + error]);
|
||||||
// Domain not found
|
// Domain not found
|
||||||
if (error.responseCode == 450) return invalidEmail(ticket);
|
if (error.responseCode == 450) return invalidEmail(ticket);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue