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")