Fix error

This commit is contained in:
Neil Alexander 2022-09-01 09:05:35 +01:00
parent df4377fafb
commit 9119d7d454
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -196,7 +196,7 @@ func (s *OutputRoomEventConsumer) sendEvents(
case http.StatusOK: case http.StatusOK:
state.backoff = 0 state.backoff = 0
default: default:
return state.backoffAndPause(err) return state.backoffAndPause(fmt.Errorf("received HTTP status code %d from appservice", resp.StatusCode))
} }
return nil return nil
} }