Skip to content

Commit

Permalink
chore: add logs to finish proposal job (#1524)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyesp authored Jan 8, 2024
1 parent 6f81c42 commit 9a26eba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/entities/Proposal/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,11 @@ async function prepareProposalsAndBudgetsUpdates(
}

export async function finishProposal() {
logger.log(`Running finish proposal job...`)

try {
const finishableProposals = await ProposalModel.getFinishableProposals()
logger.log(`Finishable proposals`, finishableProposals)
if (finishableProposals.length === 0) {
return
}
Expand Down

0 comments on commit 9a26eba

Please sign in to comment.