Remove leftover pdb call in MatrixClient._send()
This commit is contained in:
parent
4760ccac5e
commit
05f2c20924
|
@ -248,9 +248,6 @@ class MatrixClient(nio.AsyncClient):
|
||||||
response = await super()._send(*args, **kwargs)
|
response = await super()._send(*args, **kwargs)
|
||||||
|
|
||||||
if isinstance(response, nio.ErrorResponse):
|
if isinstance(response, nio.ErrorResponse):
|
||||||
for a in args:
|
|
||||||
if isinstance(a, str) and "cyberia" in a:
|
|
||||||
import remote_pdb; remote_pdb.RemotePdb("127.0.0.1", 4444).set_trace()
|
|
||||||
raise MatrixError.from_nio(response)
|
raise MatrixError.from_nio(response)
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
Loading…
Reference in New Issue
Block a user