From e4741d5de23d1198ef9e3e2fa6e6b73a09070da5 Mon Sep 17 00:00:00 2001 From: Fedorov Vladimir Date: Fri, 24 May 2024 02:10:08 +0700 Subject: [PATCH] fix --- cmd/cake_crm/main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmd/cake_crm/main.go b/cmd/cake_crm/main.go index ef21a2f..4cad0bc 100644 --- a/cmd/cake_crm/main.go +++ b/cmd/cake_crm/main.go @@ -33,8 +33,14 @@ func main() { panic(err) } chatID, err := strconv.ParseInt(string(chatIdData), 10, 64) + if err != nil { + panic(err) + } messenger, err := telegram.NewMessenger(chatID, token) + if err != nil { + panic(err) + } // Create a listener on TCP port lis, err := net.Listen("tcp", ":8080")