Skip to content

Commit

Permalink
Fatal getSignaturesForAddress calls when Bigtable must be queried b…
Browse files Browse the repository at this point in the history
…ut can't be reached
  • Loading branch information
steveluscher committed Nov 19, 2024
1 parent f2ca0d0 commit 054273e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rpc/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1761,8 +1761,8 @@ impl JsonRpcRequestProcessor {
bigtable_before = None;
}
Err(err) => {
warn!("{:?}", err);
return Ok(map_results(results));
warn!("Failed to query Bigtable: {:?}", err);
return Err(RpcCustomError::LongTermStorageUnreachable.into());
}
Ok(_) => {}
}
Expand Down Expand Up @@ -1791,8 +1791,10 @@ impl JsonRpcRequestProcessor {
}
}
}
Err(StorageError::SignatureNotFound) => {}
Err(err) => {
warn!("{:?}", err);
warn!("Failed to query Bigtable: {:?}", err);
return Err(RpcCustomError::LongTermStorageUnreachable.into());
}
}
}
Expand Down

0 comments on commit 054273e

Please sign in to comment.