[ISSUE #5190]remove the unnecessary catch in the login method (#5456)

* remove the unnecessary catch in the login method

* catch the throwable error when login and print the message
This commit is contained in:
brothelul 2021-04-23 19:12:52 +08:00 committed by GitHub
parent 6c270cb3ac
commit 2f82f070fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,8 @@ public class SecurityProxy {
return true;
}
}
} catch (Throwable ignore) {
} catch (Throwable throwable) {
SECURITY_LOGGER.warn("[SecurityProxy] login failed, error: ", throwable);
}
return false;