mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
fix: 修改解密异常抛出范围
This commit is contained in:
@@ -244,7 +244,7 @@ class Crypto:
|
||||
if origin_text:
|
||||
# 有时不同算法解密不报错,但是返回空字符串
|
||||
return origin_text
|
||||
except (TypeError, ValueError, UnicodeDecodeError, IndexError):
|
||||
except Exception:
|
||||
continue
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user