diff --git a/src/matrix/net/HomeServerApi.js b/src/matrix/net/HomeServerApi.js index 3ac0748f..7748ee23 100644 --- a/src/matrix/net/HomeServerApi.js +++ b/src/matrix/net/HomeServerApi.js @@ -46,6 +46,9 @@ class RequestWrapper { log?.catch(err); throw err; } else { + if (err.name === "ConnectionError") { + log?.set("timeout", err.isTimeout); + } log?.catch(err); throw err; }