From 78d84a9d0eae4673a5268d774549feb94da90b78 Mon Sep 17 00:00:00 2001 From: Eslam-Nawara Date: Tue, 24 Oct 2023 13:00:28 +0300 Subject: [PATCH] change failed connection error messages --- user-contracts-mon/internal/monitor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user-contracts-mon/internal/monitor.go b/user-contracts-mon/internal/monitor.go index b4f1fdc01..54196ca8b 100644 --- a/user-contracts-mon/internal/monitor.go +++ b/user-contracts-mon/internal/monitor.go @@ -88,7 +88,7 @@ func (mon Monitor) StartMonitoring(addChatChan chan User, stopChatChan chan int6 for chatID, user := range users { tfPluginClient, err := deployer.NewTFPluginClient(user.mnemonic, "sr25519", user.network, "", "", "", 0, true) if err != nil { - log.Println(err) + log.Println("failed to connect") mon.sendResponse(err.Error(), chatID) continue } @@ -107,7 +107,7 @@ func (mon Monitor) StartMonitoring(addChatChan chan User, stopChatChan chan int6 case user := <-addChatChan: tfPluginClient, err := deployer.NewTFPluginClient(user.mnemonic, "sr25519", user.network, "", "", "", 0, true) if err != nil { - log.Println(err) + log.Println("failed to connect") mon.sendResponse(err.Error(), user.ChatID) continue }