From 9b8717d0a1d8ece8b9cb59d67b0b26bbdba4299d Mon Sep 17 00:00:00 2001 From: artemijspavlovs <19916123+artemijspavlovs@users.noreply.github.com> Date: Mon, 5 Aug 2024 18:59:10 +0200 Subject: [PATCH] chore: improve error handling messages --- cmd/rollapp/run/run.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/rollapp/run/run.go b/cmd/rollapp/run/run.go index 6566cff3..7486ca2e 100644 --- a/cmd/rollapp/run/run.go +++ b/cmd/rollapp/run/run.go @@ -100,6 +100,7 @@ func Cmd() *cobra.Command { } seqAddrInfo, err := utils.GetAddressInfoBinary(hubSeqKC, hubSeqKC.ChainBinary) if err != nil { + pterm.Error.Println("failed to get address info: ", err) return } @@ -112,6 +113,7 @@ func Cmd() *cobra.Command { }, seqAddrInfo.Address, ) if err != nil { + pterm.Error.Println("failed to get address balance: ", err) return } @@ -293,6 +295,7 @@ func Cmd() *cobra.Command { ) if !proceed { + pterm.Info.Println("exiting") return } }