Improve logging when there is an error in the RPC layer

Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-07-07 19:36:53 +02:00
co-authored by Max Brunsfeld
parent d0660f41de
commit 024684e46c
2 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -705,7 +705,7 @@ impl Workspace {
cx.spawn(|_, _| async move {
if let Err(e) = task.await {
log::error!("sharing failed: {}", e);
log::error!("sharing failed: {:?}", e);
}
})
.detach();