From 4026b6af73f51cf67d551c62ec9de1cfff227919 Mon Sep 17 00:00:00 2001 From: asilenced Date: Tue, 10 Jan 2023 15:01:09 +0800 Subject: [PATCH] optimize log --- cmd/soltool/get_bridge_info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soltool/get_bridge_info.go b/cmd/soltool/get_bridge_info.go index e0849bb..85046f5 100644 --- a/cmd/soltool/get_bridge_info.go +++ b/cmd/soltool/get_bridge_info.go @@ -24,7 +24,7 @@ func getBridgeInfoAction(ctx *cli.Context) error { //check if exist bridgeInfo, err := c.GetBridgeAccountInfo(context.Background(), pc.BridgeAccount) if err != nil { - return fmt.Errorf("\nbridge account not exist:\n %+v", bridgeInfo) + return fmt.Errorf("bridge account not exist,err %s", err.Error()) } fmt.Printf("\nbridgeAccountInfo: \n")