Skip to content

Commit

Permalink
Merge pull request #313 from MinaFoundation/PM-2113-next-epoch-non-fi…
Browse files Browse the repository at this point in the history
…nalized
  • Loading branch information
johnmarcou authored Jan 2, 2025
2 parents ffefad7 + 1c07792 commit 55a4a3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def main():
try:
process_staking_ledger(synced_pod, next_epoch, "next-epoch-ledger")
except subprocess.CalledProcessError as e:
if "Ledger not found: next staking ledger is not finalized yet" in e.output:
if "Ledger not found: next staking ledger is not finalized yet" in e.stderr:
logger.warning(f"Unable to process the next epoch {next_epoch} due to error: {e.output}, skipping further processing.")
else:
raise e
Expand Down

0 comments on commit 55a4a3e

Please sign in to comment.