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

Connection errors in twisted aren't RuntimeErrors

parent e1515c3e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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