summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/http/matrixfederationclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 454c3d4ab1..b5e201b5f1 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -148,7 +148,7 @@ class MatrixFederationHttpClient(object):
 
                 if hasattr(e, "reasons"):
                     reasons = ", ".join(
-                        f.value.message
+                        str(f.value.message)
                         for f in e.reasons
                     )
                 else: