CI: don't fall over if cannot connect to upload server.

```
>           warnings.warn(f"Error reporting testrun: {e}: {e.read()}")
E           AttributeError: 'URLError' object has no attribute 'read'
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2024-08-06 09:41:37 +09:30 committed by neil saitug
parent f77d4d7097
commit 855d7366c7

View File

@ -69,4 +69,4 @@ def pytest_pyfunc_call(pyfuncitem):
except Exception as e:
import warnings
warnings.warn(f"Error reporting testrun: {e}: {e.read()}")
warnings.warn(f"Error reporting testrun: {e}")