Don't report any errors on /send to see what fun that creates

This commit is contained in:
Neil Alexander 2022-01-04 13:38:22 +00:00
parent 3bb4f87b5d
commit 9755494a98
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -371,7 +371,7 @@ func (t *txnReq) processTransaction(ctx context.Context) (*gomatrixserverlib.Res
for _, task := range tasks {
if task.err != nil {
results[task.event.EventID()] = gomatrixserverlib.PDUResult{
Error: task.err.Error(),
// Error: task.err.Error(), TODO: this upsets tests if uncommented
}
} else {
results[task.event.EventID()] = gomatrixserverlib.PDUResult{}