Remove unwrap from Server::share_project

This commit is contained in:
Antonio Scandurra 2022-11-17 13:33:26 +01:00
parent 71eeeedc05
commit 3b34d858b5

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(),
})?;