fix: 修改解密异常抛出范围

This commit is contained in:
Aaron3S
2022-09-27 15:16:26 +08:00
committed by Jiangjie.Bai
parent f6cc7046a2
commit bb25bf7621

View File

@@ -244,7 +244,7 @@ class Crypto:
if origin_text:
# 有时不同算法解密不报错,但是返回空字符串
return origin_text
except (TypeError, ValueError, UnicodeDecodeError, IndexError):
except Exception:
continue