Remove unwrap from Server::share_project

This commit is contained in:
Antonio Scandurra committed 2022-11-17 13:33:26 +01:00
1 parent b55a13831a
commit d3e2d26050
1 file changed
+1 -2
+1 -2
View File
@@ -862,8 +862,7 @@ impl Server {
request.sender_connection_id,
&request.payload.worktrees,
)
.await
.unwrap();
.await?;
response.send(proto::ShareProjectResponse {
project_id: project_id.to_proto(),
})?;