From 2ebf9deed67924484cd58dd0fd8a2b9e2e9a5ed8 Mon Sep 17 00:00:00 2001 From: Aubin Date: Tue, 26 Nov 2024 18:04:53 +0100 Subject: [PATCH] :loud_sound: add the type of the var users on the warning on users.find crashing --- connectors/src/connectors/zendesk/lib/sync_ticket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectors/src/connectors/zendesk/lib/sync_ticket.ts b/connectors/src/connectors/zendesk/lib/sync_ticket.ts index 006d17c40493..b7ca86abe5af 100644 --- a/connectors/src/connectors/zendesk/lib/sync_ticket.ts +++ b/connectors/src/connectors/zendesk/lib/sync_ticket.ts @@ -180,7 +180,7 @@ ${comments author = users.find((user) => user.id === comment.author_id); } catch (e) { logger.warn( - { connectorId, e, ...loggerArgs }, + { connectorId, e, usersType: typeof users, ...loggerArgs }, "[Zendesk] Error finding the author of a comment." ); author = null;