add console.log
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-07-17 12:20:58 +02:00
parent e5bfb4af23
commit ae2ddcb8c7
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ module.exports = Self => {
});
const xmlString = response.data;
console.log('xmlString: ', xmlString);
const parser = new DOMParser();
const xmlDoc = parser.parseFromString(xmlString, 'text/xml');
const result = xmlDoc.getElementsByTagName('Mensaje')[0].textContent;

View File

@ -53,6 +53,7 @@ module.exports = Self => {
const deletedExpedition = await models.Expedition.destroyById(expeditionId);
deletedExpeditions.push(deletedExpedition);
} catch (e) {
console.log('e: ', e);
notDeletedExpeditions.push(expeditionId);
}
}