mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-21 23:20:40 +00:00
pageserver: fix dropping backtrace from CreateImageLayersError
This commit is contained in:
@@ -726,6 +726,9 @@ impl From<CreateImageLayersError> for CompactionError {
|
||||
fn from(e: CreateImageLayersError) -> Self {
|
||||
match e {
|
||||
CreateImageLayersError::Cancelled => CompactionError::ShuttingDown,
|
||||
CreateImageLayersError::Other(e) => {
|
||||
CompactionError::Other(e.context("create image layers"))
|
||||
}
|
||||
_ => CompactionError::Other(e.into()),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user