mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
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:
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}")
|
||||
|
Loading…
Reference in New Issue
Block a user