mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-25 17:10:38 +00:00
fix some anyhow::Context::context calls that should use with_context(format!(...))
Noticed this while combing through some production logs.
This commit is contained in:
committed by
Christian Schwarz
parent
fd18692dfb
commit
55c184fcd7
@@ -282,7 +282,7 @@ async fn timeline_detail_handler(request: Request<Body>) -> Result<Response<Body
|
||||
|
||||
let timeline_info = build_timeline_info(&timeline, include_non_incremental_logical_size)
|
||||
.await
|
||||
.context("Failed to get local timeline info: {e:#}")
|
||||
.context("get local timeline info")
|
||||
.map_err(ApiError::InternalServerError)?;
|
||||
|
||||
Ok::<_, ApiError>(timeline_info)
|
||||
|
||||
Reference in New Issue
Block a user