Connection errors in twisted aren't RuntimeErrors

pull/4/merge
Erik Johnston 10 years ago
parent e1515c3e91
commit e9c85a4d5a
  1. 4
      synapse/federation/federation_client.py

@ -270,7 +270,7 @@ class FederationClient(FederationBase):
break
except CodeMessageException:
raise
except RuntimeError as e:
except Exception as e:
logger.warn(
"Failed to make_join via %s: %s",
destination, e.message
@ -319,7 +319,7 @@ class FederationClient(FederationBase):
})
except CodeMessageException:
raise
except RuntimeError as e:
except Exception as e:
logger.warn(
"Failed to send_join via %s: %s",
destination, e.message

Loading…
Cancel
Save