mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-29 17:51:56 -06:00
Fix panic
This commit is contained in:
parent
bab59dd1c2
commit
78a9a6de2a
|
@ -297,7 +297,10 @@ func (r *Inputer) processRoomEvent(
|
||||||
"soft_fail": softfail,
|
"soft_fail": softfail,
|
||||||
"missing_prev": missingPrev,
|
"missing_prev": missingPrev,
|
||||||
}).Warn("Stored rejected event")
|
}).Warn("Stored rejected event")
|
||||||
return commitTransaction, types.RejectedError(rejectionErr.Error())
|
if err != nil {
|
||||||
|
return commitTransaction, types.RejectedError(err.Error())
|
||||||
|
}
|
||||||
|
return commitTransaction, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
switch input.Kind {
|
switch input.Kind {
|
||||||
|
|
Loading…
Reference in a new issue