From 1b375313211eb2d434230de824b90826a0d588ab Mon Sep 17 00:00:00 2001 From: Ethen Pociask Date: Wed, 25 Oct 2023 00:18:25 -0700 Subject: [PATCH] [epociask/issue-160-slack-fix] logging height in E2E test --- internal/subsystem/manager.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/subsystem/manager.go b/internal/subsystem/manager.go index 0564b244..213715f1 100644 --- a/internal/subsystem/manager.go +++ b/internal/subsystem/manager.go @@ -222,5 +222,11 @@ func (m *Manager) etlLimitReached() bool { } func (m *Manager) PipelineHeight(pUUID core.PUUID) (*big.Int, error) { - return m.etl.GetPipelineHeight(pUUID) + height, err := m.etl.GetPipelineHeight(pUUID) + if err != nil { + return nil, err + } + + logging.NoContext().Info("Returning height for pipeline", zap.String("height", height.String())) + return height, nil }