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:
committed by
neil saitug
parent
f77d4d7097
commit
855d7366c7
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user