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:
co-authored by
David Kleingeld
parent
3d4abde55a
commit
0be70e24d6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user