Skip to content

Commit 0569bb0

Browse files
committed
Clean up error messages
1 parent b298b62 commit 0569bb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

access-grant/src/main/java/com/inrupt/client/accessgrant/AccessGrantClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ public CompletionStage<AccessRequest> requestAccess(final URI agent, final Set<U
194194
if (isSuccess(status)) {
195195
return processVerifiableCredential(input, ACCESS_REQUEST_TYPES, AccessRequest.class);
196196
}
197-
throw new AccessGrantException("Unable to issue Access Grant: HTTP error " + status,
197+
throw new AccessGrantException("Unable to issue Access Request: HTTP error " + status,
198198
status);
199199
} catch (final IOException ex) {
200200
throw new AccessGrantException(
201-
"Unexpected I/O exception while processing Access Grant", ex);
201+
"Unexpected I/O exception while processing Access Request", ex);
202202
}
203203
});
204204
});

0 commit comments

Comments
 (0)