We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0751f1 commit 6ab1d59Copy full SHA for 6ab1d59
src/main/java/edu/cornell/mannlib/orcidclient/actions/version_2_0/ReadProfileAction.java
@@ -66,12 +66,6 @@ public OrcidProfile execute(AccessToken accessToken)
66
} catch (URISyntaxException e) {
67
throw new OrcidClientException(
68
"API_BASE_URL is not syntactically valid.", e);
69
- } catch (HttpResponseException e) {
70
- // Bad status code? Something funky.
71
- log.error("HttpResponse status code: " + e.getStatusCode());
72
- throw new OrcidClientException(
73
- "Failed to read profile. HTTP status code="
74
- + e.getStatusCode(), e);
75
} catch (IOException e) {
76
throw new OrcidClientException("Failed to read profile", e);
77
}
0 commit comments