diff --git a/jap-social/src/main/java/com/fujieid/jap/social/SocialStrategy.java b/jap-social/src/main/java/com/fujieid/jap/social/SocialStrategy.java index df34588353f754a95978c62aa76439c60b17baa4..d9033d90dd7d09eef28f05db2ecff99a9806dc30 100644 --- a/jap-social/src/main/java/com/fujieid/jap/social/SocialStrategy.java +++ b/jap-social/src/main/java/com/fujieid/jap/social/SocialStrategy.java @@ -324,10 +324,10 @@ public class SocialStrategy extends AbstractJapStrategy { try { authUserAuthResponse = authRequest.revoke(authToken); } catch (Exception e) { - throw new JapSocialException("Third party refresh access token of `" + source + "` failed. " + e.getMessage()); + throw new JapSocialException("Third party revoke access token of `" + source + "` failed. " + e.getMessage()); } if (!authUserAuthResponse.ok() || ObjectUtil.isNull(authUserAuthResponse.getData())) { - throw new JapUserException("Third party refresh access token of `" + source + "` failed. " + authUserAuthResponse.getMsg()); + throw new JapUserException("Third party revoke access token of `" + source + "` failed. " + authUserAuthResponse.getMsg()); } return JapResponse.success();