We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74f06f commit 54c5df9Copy full SHA for 54c5df9
apps/api/src/jobs/consumers/summary/summary.consumer.ts
@@ -47,7 +47,9 @@ export class SummaryConsumer {
47
48
this.logger.log(`Generating summary for job with ID: ${jobId}`);
49
const summaryText = await this.meetingSummarizerService.generateMeetingSummary(fileContent);
50
- summary.outputText = summaryText;
+ summary.outputText =
51
+ summaryText ||
52
+ 'Summary could not be generated, please check if its a valid teams transcript file';
53
// Update job status to SUCCESS
54
summary.jobStatus = JobStatus.SUCCESS;
55
this.logger.log(`Summary generated successfully for job with ID: ${jobId}`);
0 commit comments