diff --git a/services/apps/assignments/src/assignments.module.ts b/services/apps/assignments/src/assignments.module.ts index bbcc9362..3b753f76 100644 --- a/services/apps/assignments/src/assignments.module.ts +++ b/services/apps/assignments/src/assignments.module.ts @@ -29,6 +29,7 @@ import {CourseMemberModule} from "./course-member/course-member.module"; EventModule.forRoot({nats: environment.nats}), ScheduleModule.forRoot(), SentryModule.forRoot({ + enabled: environment.nodeEnv !== 'development', dsn: environment.sentryDsn, environment: environment.nodeEnv, release: environment.version, diff --git a/services/apps/projects/src/projects.module.ts b/services/apps/projects/src/projects.module.ts index ca8d9589..a54cec04 100644 --- a/services/apps/projects/src/projects.module.ts +++ b/services/apps/projects/src/projects.module.ts @@ -20,6 +20,7 @@ import {EventModule} from "@app/event/event.module"; ContainerModule, ScheduleModule.forRoot(), SentryModule.forRoot({ + enabled: environment.nodeEnv !== 'development', dsn: environment.sentryDsn, environment: environment.nodeEnv, release: environment.version,