We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f99b9 commit f510a70Copy full SHA for f510a70
netdata/__init__.py
@@ -44,7 +44,9 @@ async def get_data(self, url) -> Dict:
44
try:
45
async with httpx.AsyncClient() as client:
46
response = await client.get(str(url), timeout = self.timeout)
47
- except httpx.ConnectError:
+ except httpx.TimeoutException:
48
+ raise
49
+ except httpx.TransportError:
50
raise exceptions.NetdataConnectionError(
51
f"Connection to {self.scheme}://{self.host}:{self.port} failed"
52
)
0 commit comments