Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
[epociask/issue-160-slack-fix] logging height in E2E test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethen Pociask committed Oct 25, 2023
1 parent dc7d3f5 commit 1b37531
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion internal/subsystem/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 1b37531

Please sign in to comment.