From 2931ba9847b8683b680fc024814f435a3ccea6e0 Mon Sep 17 00:00:00 2001 From: Andrey Kondratev <81143241+cockroach-eater@users.noreply.github.com> Date: Fri, 29 Aug 2025 15:23:31 +0500 Subject: [PATCH] more logs --- public/script.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/script.ts b/public/script.ts index 5703b14..239ecbd 100644 --- a/public/script.ts +++ b/public/script.ts @@ -210,7 +210,8 @@ class QuixoticApp { } public async convertVideo(videoId: string, title: string, url: string): Promise { - console.log('Convert video called:', { videoId, title, url }); + console.log('🎵 CONVERT VIDEO CALLED:', { videoId, title, url }); + console.log('🔧 Telegram WebApp available:', !!this.tg); const videoElement = (event as any)?.currentTarget as HTMLElement; if (videoElement) { videoElement.classList.add('tg-list-item--converting'); @@ -241,7 +242,8 @@ class QuixoticApp { if (data.audioUrl) { // MP3 conversion successful! - console.log('MP3 conversion successful:', data.audioUrl); + console.log('🎉 MP3 conversion successful:', data.audioUrl); + console.log('🔧 About to send to Telegram, tg available:', !!this.tg); if (this.tg) { // Send to Telegram chat