FEAT: Adiciona log informativo para total de comentários encontrados ao buscar comentários de tickets no ServiceNow

This commit is contained in:
Tulio Castro 2025-10-07 10:57:09 -03:00
parent a53a0a9492
commit 3208e83246

View File

@ -252,6 +252,7 @@ const getAllCommentsFromServiceNow = async (ticketId) => {
break; break;
} }
} }
logInfo(`Total de comentários encontrados para o ticket SN Ticket ${ticketId}: ${allComments.length} comentários`, { ticketId, count: allComments.length });
// salvar em arquivo para análise // salvar em arquivo para análise
const filename = `servicenow_comments_ticket_${ticketId}.json`; const filename = `servicenow_comments_ticket_${ticketId}.json`;