mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-25 11:45:30 +00:00
Add .__name__ after type(e)
This commit is contained in:
parent
5e24471469
commit
65ca713ff5
@ -475,4 +475,4 @@ def _flatten_response_never_received(e):
|
|||||||
for f in e.reasons
|
for f in e.reasons
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
return "%s: %s" % (type(e), e.message,)
|
return "%s: %s" % (type(e).__name__, e.message,)
|
||||||
|
Loading…
Reference in New Issue
Block a user