persistence: More error contexts (#40787)

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Co-authored-by: David Kleingeld <davidsk@zed.dev>
This commit is contained in:
Lukas Wirth
2025-10-21 11:29:43 +00:00
committed by GitHub
co-authored by David Kleingeld
parent 3d4abde55a
commit 0be70e24d6
4 changed files with 23 additions and 10 deletions
+2 -1
View File
@@ -3,7 +3,7 @@ use crate::{
Member, Pane, PaneAxis, SerializableItemRegistry, Workspace, WorkspaceId, item::ItemHandle,
path_list::PathList,
};
use anyhow::Result;
use anyhow::{Context, Result};
use async_recursion::async_recursion;
use collections::IndexSet;
use db::sqlez::{
@@ -220,6 +220,7 @@ impl SerializedPaneGroup {
let new_items = serialized_pane
.deserialize_to(project, &pane, workspace_id, workspace.clone(), cx)
.await
.context("Could not deserialize pane)")
.log_err()?;
if pane