From 16d3530ac3ba85f8468f2f3f8937eb08df7ed309 Mon Sep 17 00:00:00 2001 From: shmilylty Date: Sun, 25 Aug 2019 17:48:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=97=AE=E9=A2=9816=20https:?= =?UTF-8?q?//github.com/shmilylty/OneForAll/issues/16?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneforall/common/resolve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oneforall/common/resolve.py b/oneforall/common/resolve.py index 46515c9..1798a85 100644 --- a/oneforall/common/resolve.py +++ b/oneforall/common/resolve.py @@ -69,7 +69,7 @@ def resolve_callback(future, index, datas): """ try: result = future.result() - except Exception as e: + except BaseException as e: datas[index]['ips'] = str(e.args) datas[index]['valid'] = 0 else: