From a6c775216ab6d7c57d66b7f1fb887c06e9baf2b6 Mon Sep 17 00:00:00 2001 From: tomoyk Date: Thu, 23 Jun 2022 01:49:06 +0000 Subject: [PATCH] Revert "update Exception handling" This reverts commit b2b6708d1940ef445fa20e1aa12fe7a1cd50f349. --- crawler/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawler/main.py b/crawler/main.py index 55828a3..5cfd966 100644 --- a/crawler/main.py +++ b/crawler/main.py @@ -162,7 +162,7 @@ def crawl() -> List[MachineDetailForStore]: key_filename=config.identity_file_path, timeout=5.0, ) - except Exception as e: + except paramiko.ssh_exception.SSHException as e: print(e) continue