commit dd301323d34fe54b42e2bd9b1a70eb5b3bf27f82 from: Aleksey Ryndin date: Tue Sep 17 16:54:37 2024 UTC Add: handle TimeoutError commit - d76a52db79b46fd5dfa0e89a6744b573da25b862 commit + dd301323d34fe54b42e2bd9b1a70eb5b3bf27f82 blob - f87a1058a322c572f0a3a1491fa426cdfca4de44 blob + fa8564a68d1bf6620e56038a86973dad30983aa0 --- lonk.py +++ lonk.py @@ -285,5 +285,7 @@ if __name__ == '__main__': print(f"43 Remote server return {error.code}: {error.reason}\r") except URLError as error: print(f"43 Error while trying to access remote server: {error.reason}\r") + except TimeoutError as error: + print(f"43 Error while trying to access remote server: {error}\r") else: print("60 Certificate required\r")