Skip to content

Commit 7dac8a9

Browse files
committed
refactor: Change log level to verbose for cron job skipping message
1 parent d337726 commit 7dac8a9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

apps/api/src/app.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class AppService extends AbstractService implements OnApplicationBootstra
125125
@Cron(CronExpression.EVERY_6_HOURS)
126126
public async handleCron(): Promise<void> {
127127
if (isConsoleEntrypoint()) {
128-
this.logger.debug('Skipping LifecycleService cron job in console mode.');
128+
this.logger.verbose('Skipping LifecycleService cron job in console mode.');
129129
return;
130130
}
131131

apps/api/src/instrument.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ if (!process.env.SESAME_SENTRY_DSN) {
1313
includeLocalVariables: true,
1414

1515
integrations: [
16+
Sentry.openAIIntegration({
17+
recordInputs: true,
18+
recordOutputs: true,
19+
}),
20+
1621
Sentry.mongooseIntegration(),
1722
Sentry.consoleIntegration(),
1823
Sentry.httpIntegration(),

0 commit comments

Comments
 (0)