From 2b622fd017c7c6ac3e2af8e309877c6f16f5df7a Mon Sep 17 00:00:00 2001 From: StefanIliev545 Date: Tue, 25 Jun 2024 14:12:39 +0300 Subject: [PATCH] Log level change. --- go/host/enclave/guardian.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/go/host/enclave/guardian.go b/go/host/enclave/guardian.go index 6b86758a41..f8818e9224 100644 --- a/go/host/enclave/guardian.go +++ b/go/host/enclave/guardian.go @@ -646,7 +646,11 @@ func (g *Guardian) periodicBundleSubmission() { err = g.sl.CrossChainMachine().PublishNextBundle() if err != nil { - g.logger.Error("Failed to publish next bundle", log.ErrKey, err) + if errors.Is(err, errutil.ErrCrossChainBundleNoBatches) { + g.logger.Debug("No batches to publish") + } else { + g.logger.Error("Failed to publish next bundle", log.ErrKey, err) + } continue } case <-g.hostInterrupter.Done():