From 0aa72a7656165add79a6356ba4aa69b781e97729 Mon Sep 17 00:00:00 2001 From: Alexgao001 Date: Tue, 28 May 2024 18:51:10 +0800 Subject: [PATCH] fix: ingore register channel error --- app/upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/upgrade.go b/app/upgrade.go index f3e3ef774..c69031dc0 100644 --- a/app/upgrade.go +++ b/app/upgrade.go @@ -258,7 +258,7 @@ func (app *App) registerErdosUpgradeHandler() { executorApp := storagemodulekeeper.NewExecutorApp(app.StorageKeeper, storagemodulekeeper.NewMsgServerImpl(app.StorageKeeper), paymentmodulekeeper.NewMsgServerImpl(app.PaymentKeeper)) err := app.CrossChainKeeper.RegisterChannel(storagemoduletypes.ExecutorChannel, storagemoduletypes.ExecutorChannelId, executorApp) if err != nil { - panic(err) + app.Logger().Error("register channel error ", err.Error()) } return nil })