From 85a9bb95165e2f56c1a447a1d5762e97b27f4a9c Mon Sep 17 00:00:00 2001 From: sincos Date: Fri, 19 Jul 2024 03:13:36 +0800 Subject: [PATCH] fix: Main error check --- cmd/sequencer/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/sequencer/main.go b/cmd/sequencer/main.go index 7c30f37..8bae8e0 100644 --- a/cmd/sequencer/main.go +++ b/cmd/sequencer/main.go @@ -102,6 +102,7 @@ func Main() error { blockchain.SetLogger(config.Logger) if err := config.Blockchain.RunMonitor(); err != nil { config.Logger.Error(err, "failed to start tx monitor") + return err } event.InitRunner(ctx)() defer config.Blockchain.Close()