Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rest/media: Don't call finish in case of error
When an exception occurs during the sending of data, the request doesn't needs a finishing, otherwise twisted complains `Producer was not unregistered for b'/_matrix/media/v1/thumbnail/…'`. Fixes matrix-org#4933
- Loading branch information