This commit is contained in:
shmilylty
2019-08-25 17:51:16 +08:00
parent 16d3530ac3
commit 32330fa8b2
+1 -1
View File
@@ -81,7 +81,7 @@ async def fetch(session, url, semaphore):
def request_callback(future, index, datas):
try:
result = future.result()
except Exception as e:
except BaseException as e:
logger.log('DEBUG', e.args)
datas[index]['reason'] = str(e.args)
datas[index]['valid'] = 0