mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 22:42:13 -04:00
Handle bad JSON data being returned from the federation API. (#9070)
This commit is contained in:
parent
0f8945e166
commit
723b19748a
3 changed files with 12 additions and 1 deletions
|
@ -560,4 +560,4 @@ class FederationClientTests(HomeserverTestCase):
|
|||
self.pump()
|
||||
|
||||
f = self.failureResultOf(test_d)
|
||||
self.assertIsInstance(f.value, ValueError)
|
||||
self.assertIsInstance(f.value, RequestSendFailed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue