From 0143f15b82dbf0bf014fb63d4aaa0e188bae0310 Mon Sep 17 00:00:00 2001 From: shreyasbhat0 Date: Tue, 12 Dec 2023 16:35:46 +0530 Subject: [PATCH] fix: error in neutron package --- cli/cmd/chains/neutron/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/chains/neutron/run.go b/cli/cmd/chains/neutron/run.go index 6f633470..9851e7da 100644 --- a/cli/cmd/chains/neutron/run.go +++ b/cli/cmd/chains/neutron/run.go @@ -60,7 +60,7 @@ func RunNeutron(cli *common.Cli) (*common.DiveServiceResponse, error) { errRemove := cli.Context().RemoveServicesByServiceNames(services, common.DiveEnclave) if errRemove != nil { - return nil, common.WrapMessageToError(errRemove, "Neutron Run Failed ") + return nil, common.WrapMessageToErrorf(errRemove, "%s.%s", errRemove, "Neutron Run Failed ") } return nil, common.WrapMessageToErrorf(common.ErrDataUnMarshall, "%s.%s", err, "Neutron Run Failed ")