0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-13 15:33:09 +01:00
dendrite/clientapi/jsonerror
Kegsay 43cddfe00f
Return remote errors from FS.PerformJoin (#1164)
* Return remote errors from FS.PerformJoin

Follows the same pattern as PerformJoin on roomserver (no error return).

Also return the right format for incompatible room version errors.

Makes a bunch of tests pass!

* Handle network errors better when returning remote HTTP errors

* Linting

* Fix tests

* Update whitelist, pass network errors through in API=1 mode
2020-06-25 15:04:48 +01:00
..
jsonerror.go Return remote errors from FS.PerformJoin (#1164) 2020-06-25 15:04:48 +01:00
jsonerror_test.go use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00