mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-13 13:07:32 +00:00
(improvement)(auth)Avoid printing error logs when key decryption and token parsing fail (#1681)
* (improvement)(auth) Avoid throwing exceptions after login token authentication fails #1679 (improvement)(common) Do not print error log when key decryption fails #1679 --------- Co-authored-by: lxwcodemonkey
This commit is contained in:
@@ -113,7 +113,6 @@ public class AESEncryptionUtil {
|
||||
byte[] decryptedBytes = cipher.doFinal(encryptBytes);
|
||||
return new String(decryptedBytes, ENCODE);
|
||||
} catch (Exception e) {
|
||||
log.warn("encryptStr decrypt failed:{}", encryptStr);
|
||||
return encryptStr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user