Skip to content

Commit 9741141

Browse files
Merge pull request #1254 from credebl/fix/improvement-and-logging
fix: removed unwanted log which was displaying large data
2 parents 3696153 + e82bc4e commit 9741141

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

apps/issuance/src/issuance.processor.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,12 @@ export class BulkIssuanceProcessor {
1111

1212
@OnQueueActive()
1313
onActive(job: Job): void {
14-
this.logger.log(
15-
`Emitting job status${job.id} of type ${job.name} with data ${JSON.stringify(job.data)}...`
16-
);
14+
this.logger.log(`Emitting job status${job.id} of type ${job.name} ...`);
1715
}
1816

1917
@Process()
20-
async issueCredential(job: Job<IQueuePayload>):Promise<void> {
21-
this.logger.log(
22-
`Processing job ${job.id} of type ${job.name} with data ${JSON.stringify(job.data)}...`
23-
);
18+
async issueCredential(job: Job<IQueuePayload>): Promise<void> {
19+
this.logger.log(`Processing job ${job.id} of type ${job.name} ...`);
2420

2521
this.issuanceService.processIssuanceData(job.data);
2622
}

0 commit comments

Comments
 (0)