mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
bridgev2/provisioning: include underlying error in failed to wait response
This commit is contained in:
parent
f5746ee0f6
commit
3f23c300ca
1 changed files with 1 additions and 1 deletions
|
|
@ -501,7 +501,7 @@ func (prov *ProvisioningAPI) PostLoginWait(w http.ResponseWriter, r *http.Reques
|
|||
if err != nil {
|
||||
zerolog.Ctx(r.Context()).Err(err).Msg("Failed to wait")
|
||||
jsonResponse(w, http.StatusInternalServerError, &mautrix.RespError{
|
||||
Err: "Failed to wait",
|
||||
Err: "Failed to wait: " + err.Error(),
|
||||
ErrCode: "M_UNKNOWN",
|
||||
})
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue