Skip to content

Commit f8821eb

Browse files
author
Oto Šťáva
committedFeb 21, 2024
fixup! utils/request.py: higher timeout for http request
1 parent 47025e1 commit f8821eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎manager/knot_resolver_manager/utils/requests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def request(
8484
else:
8585
_print_conn_error(str(err), url, socket_desc.source)
8686
sys.exit(1)
87-
except TimeoutError:
87+
except (TimeoutError, socket.timeout):
8888
_print_conn_error(
8989
f"Connection timed out after {timeout_m} minutes."
9090
"\nIt does not mean that the operation necessarily failed."

0 commit comments

Comments
 (0)