mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-30 19:40:39 +00:00
better error message
This commit is contained in:
@@ -1134,7 +1134,11 @@ impl Timeline {
|
|||||||
self.get_vectored_reconstruct_data(keyspace.clone(), lsn, reconstruct_state, ctx)
|
self.get_vectored_reconstruct_data(keyspace.clone(), lsn, reconstruct_state, ctx)
|
||||||
.instrument(debug_span!("get_vectored_reconstruct_data", invocation))
|
.instrument(debug_span!("get_vectored_reconstruct_data", invocation))
|
||||||
.await
|
.await
|
||||||
.with_context(|| format!("get_vectored_reconstruct_data invocation {invocation}"))?;
|
.map_err(|err| {
|
||||||
|
anyhow::anyhow!(
|
||||||
|
"get_vectored_reconstruct_data invocation {invocation}: keyspace={keyspace} {err:?}",
|
||||||
|
)
|
||||||
|
})?;
|
||||||
get_data_timer.stop_and_record();
|
get_data_timer.stop_and_record();
|
||||||
|
|
||||||
let reconstruct_timer = crate::metrics::RECONSTRUCT_TIME
|
let reconstruct_timer = crate::metrics::RECONSTRUCT_TIME
|
||||||
|
|||||||
Reference in New Issue
Block a user