We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfe331a commit 3acabfeCopy full SHA for 3acabfe
1 file changed
store/postgres/src/deployment.rs
@@ -626,7 +626,10 @@ pub async fn revert_block_ptr(
626
match affected_rows {
627
1 => Ok(()),
628
0 => Err(StoreError::Unknown(anyhow!(
629
- "No rows affected. This could be due to an attempt to revert beyond earliest_block + reorg_threshold",
+ "No rows affected. The revert target (block {}) may be beyond earliest_block + \
630
+ reorg_threshold, or the revert target may be a stale block from a previous reorg \
631
+ that no longer exists on the canonical chain",
632
+ ptr.number,
633
))),
634
_ => Err(StoreError::Unknown(anyhow!(
635
"Expected to update 1 row, but {} rows were affected",
0 commit comments