Skip to content

Commit

Permalink
improve logger
Browse files Browse the repository at this point in the history
  • Loading branch information
kkatusic committed Jan 14, 2025
1 parent c7af69c commit 7621d4b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/services/cronJobs/checkAndUpdateEndaomentProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ export const runCheckAndUpdateEndaomentProject = async () => {
where: { organizationId: 5, statusId: Not(ProjStatus.cancelled) },
});

logger.debug('Projects fetched:', {
count: projects.length,
projectIds: projects.map(p => p.id),
endaomentIds: projects.map(p => p.endaomentId).filter(Boolean),
});
logger.debug('Projects fetched:', projects.length);

for (const project of projects) {
try {
Expand Down

0 comments on commit 7621d4b

Please sign in to comment.