Skip to content

Commit

Permalink
🔊 add the type of the var users on the warning on users.find crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
aubin-tchoi committed Nov 26, 2024
1 parent 9f8d1f0 commit 2ebf9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/src/connectors/zendesk/lib/sync_ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2ebf9de

Please sign in to comment.