mirror of https://github.com/jumpserver/jumpserver
fix: 修改解密异常抛出范围
parent
f6cc7046a2
commit
bb25bf7621
|
@ -244,7 +244,7 @@ class Crypto:
|
||||||
if origin_text:
|
if origin_text:
|
||||||
# 有时不同算法解密不报错,但是返回空字符串
|
# 有时不同算法解密不报错,但是返回空字符串
|
||||||
return origin_text
|
return origin_text
|
||||||
except (TypeError, ValueError, UnicodeDecodeError, IndexError):
|
except Exception:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue