Skip to content
Snippets Groups Projects
Commit 65ca713f authored by Erik Johnston's avatar Erik Johnston
Browse files

Add .__name__ after type(e)

parent 5e244714
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ class MatrixFederationHttpClient(object):
destination,
method,
url_bytes,
type(e). __name__,
type(e).__name__,
_flatten_response_never_received(e),
)
......@@ -475,4 +475,4 @@ def _flatten_response_never_received(e):
for f in e.reasons
)
else:
return "%s: %s" % (type(e), e.message,)
return "%s: %s" % (type(e).__name__, e.message,)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment