mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Add missing error check
This commit is contained in:
parent
ddc4b28781
commit
40a8d732fd
|
|
@ -116,6 +116,8 @@ func ExchangeThirdPartyInvite(
|
|||
Code: 404,
|
||||
JSON: jsonerror.NotFound("Unknown room " + roomID),
|
||||
}
|
||||
} else if err != nil {
|
||||
return httputil.LogThenError(httpReq, err)
|
||||
}
|
||||
|
||||
// Ask the requesting server to sign the newly created event so we know it
|
||||
|
|
|
|||
Loading…
Reference in a new issue