fix: change debugAdd to console.error
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-11-28 11:31:38 +01:00
parent c8b0874e95
commit 5923916cda
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ module.exports = Self => {
const deletedExpedition = await models.Expedition.destroyById(expeditionId);
deletedExpeditions.push(deletedExpedition);
} catch (error) {
await Self.rawSql('CALL util.debugAdd(?,?);', ['deleteExpeditions', error]);
console.error('error: ', error);
notDeletedExpeditions.push(expeditionId);
}
}