Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #35 from habuma/master

SOCIAL-328: LinkedIn module changes to support initial cut of ReconnectFilter
  • Loading branch information...
commit b8d325208855ab521e28ed9a41e51491359c3121 2 parents befa0a4 + 00cbc3b
@habuma habuma authored
View
2  spring-social-linkedin/src/main/java/org/springframework/social/linkedin/api/impl/ProfileTemplate.java
@@ -97,7 +97,7 @@ public LinkedInProfile getProfileByPublicUrl(String url) {
return restOperations.getForObject(URIBuilder.fromUri(BASE_URL + "url=" + URLEncoder.encode(url, "UTF-8") + PROFILE_FIELDS).build(), LinkedInProfile.class);
} catch (UnsupportedEncodingException unlikely) {
unlikely.printStackTrace();
- throw new ApiException("Unlikely unsupported encoding error", unlikely);
+ throw new ApiException("linkedin", "Unlikely unsupported encoding error", unlikely);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.