From 1c3ed77aa439d54b7523963ca3af911e44e12d2e Mon Sep 17 00:00:00 2001 From: RafilxTenfen Date: Fri, 25 Oct 2024 12:36:41 +0400 Subject: [PATCH] chore: add err log --- finality-provider/cmd/fpd/daemon/daemon_commands.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/finality-provider/cmd/fpd/daemon/daemon_commands.go b/finality-provider/cmd/fpd/daemon/daemon_commands.go index 164cfe9d..f2e37ab4 100644 --- a/finality-provider/cmd/fpd/daemon/daemon_commands.go +++ b/finality-provider/cmd/fpd/daemon/daemon_commands.go @@ -434,6 +434,7 @@ func runCommandAddFinalitySig(cmd *cobra.Command, args []string) error { if err := cleanUp(); err != nil { fmt.Printf("Failed to clean up grpc client: %v\n", err) } + fmt.Printf("\nfinish to clean up") }() appHash, err := hex.DecodeString(appHashHex) @@ -443,6 +444,7 @@ func runCommandAddFinalitySig(cmd *cobra.Command, args []string) error { res, err := client.AddFinalitySignature(context.Background(), fpPk.MarshalHex(), blkHeight, appHash) if err != nil { + fmt.Printf("\n err at AddFinalitySignature %w", err) return err } printRespJSON(res)