Don't return an error when failing to send AddProjectCollaborator
This can happen when a peer has disconnected but we haven't yet been able to acquire a lock to the store to clean up the state associated with it.
This commit is contained in:
parent
ef72c75fab
commit
f54f653d42
1 changed files with 13 additions and 11 deletions
|
@ -1041,7 +1041,8 @@ impl Server {
|
||||||
|
|
||||||
for conn_id in project.connection_ids() {
|
for conn_id in project.connection_ids() {
|
||||||
if conn_id != request.sender_id {
|
if conn_id != request.sender_id {
|
||||||
self.peer.send(
|
self.peer
|
||||||
|
.send(
|
||||||
conn_id,
|
conn_id,
|
||||||
proto::AddProjectCollaborator {
|
proto::AddProjectCollaborator {
|
||||||
project_id: project_id.to_proto(),
|
project_id: project_id.to_proto(),
|
||||||
|
@ -1051,7 +1052,8 @@ impl Server {
|
||||||
user_id: guest_user_id.to_proto(),
|
user_id: guest_user_id.to_proto(),
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
)?;
|
)
|
||||||
|
.trace_err();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue