Skip to content

Commit

Permalink
Merge pull request #380 from TogetherCrew/improve-logs
Browse files Browse the repository at this point in the history
debug: add or update logs
  • Loading branch information
Behzad-rabiei authored Sep 2, 2024
2 parents ee7c216 + 9af19da commit 41a604f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/services/announcement.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,13 @@ const sendPrivateMessageToUser = async (saga: any) => {
const roleIds = options?.roleIds;
const categories = options?.engagementCategories;

logger.info(community, 'community');
logger.info(platform, 'platform');
logger.info(platformId, 'platformId');
logger.info(userIds, 'userIds');
logger.info(roleIds, 'roleIds');
logger.info(categories, 'categories');

if (userIds || roleIds || categories) {
const allDiscordIds = new Set<string>();

Expand Down

0 comments on commit 41a604f

Please sign in to comment.