Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Fix a crash due to calling project.id when project is undefined

Blue Mouse8705c1af617d
diff --git a/backend/apps/production/src/integrations/telegram/scene/projects.scene.ts b/backend/apps/production/src/integrations/telegram/scene/projects.scene.ts
index 814c5e0b1..9b1dd056c 100644
--- a/backend/apps/production/src/integrations/telegram/scene/projects.scene.ts
+++ b/backend/apps/production/src/integrations/telegram/scene/projects.scene.ts
@@ -73,6 +73,7 @@ export class ProjectsScene {
if (!project) {
await context.reply('Project not found.')
await context.scene.reenter()
+ return
}
const onlineCount = await this.analyticsService.getOnlineUserCount(