Do not fail hard on selection persistence if the editor is removed (#25120)
Kirill Bulatov
created
Follow-up of https://github.com/zed-industries/zed/pull/25083
Follows practices from editors' scroll position persisting:
https://github.com/zed-industries/zed/blob/5a05b7461e476d7ddc59418868ebdab6687b8d2f/crates/editor/src/persistence.rs#L200
and do not fail hard if the editor with the ID given does not exist.
Also add the problematic IDs into the error context to see them in the
error logs.
Release Notes:
- N/A