@@ -2,7 +2,6 @@ import { proxyActivities, startChild } from '@temporalio/workflow';
22import type * as activities from '../../activities' ;
33import { TelegramEvent } from '../../shared/types/telegram/TelegramEvent' ;
44import { Update } from 'grammy/types' ;
5- import logger from '../../config/logger.config' ;
65
76interface ITelegramVectorIngestionWorkflow {
87 event : TelegramEvent ;
@@ -28,7 +27,7 @@ export async function TelegramVectorIngestionWorkflow({
2827 if (
2928 ! ( event === TelegramEvent . EDITED_MESSAGE || event === TelegramEvent . MESSAGE )
3029 ) {
31- logger . info ( 'Skipping vector ingestion for event' , {
30+ console . info ( 'Skipping vector ingestion for event' , {
3231 event,
3332 message_id : update . message . message_id ,
3433 } ) ;
@@ -37,12 +36,12 @@ export async function TelegramVectorIngestionWorkflow({
3736
3837 const chatId = update . message . chat . id ;
3938 if ( ! chatId ) {
40- logger . error ( 'No chat ID found' ) ;
39+ console . error ( 'No chat ID found' ) ;
4140 return ;
4241 }
4342 const community = await getCommunityFromTelegram ( chatId ) ;
4443 if ( ! community ) {
45- logger . error ( 'No community found' ) ;
44+ console . error ( 'No community found' ) ;
4645 return ;
4746 }
4847
@@ -54,7 +53,7 @@ export async function TelegramVectorIngestionWorkflow({
5453 } ) ;
5554
5655 if ( ! platform ) {
57- logger . error ( 'No platform found' ) ;
56+ console . error ( 'No platform found' ) ;
5857 return ;
5958 }
6059
0 commit comments