ignore failure to get replication date

This commit is contained in:
Sarah Hoffmann
2021-02-14 12:17:30 +01:00
parent 6a7e0d652b
commit fbe7be760b
3 changed files with 27 additions and 7 deletions

View File

@@ -119,6 +119,7 @@ def update(conn, options):
# Write the current status to the file
endstate = repl.get_state_info(endseq)
status.set_status(conn, endstate.timestamp, seq=endseq, indexed=False)
status.set_status(conn, endstate.timestamp if endstate else None,
seq=endseq, indexed=False)
return UpdateState.UP_TO_DATE