Skip to content

Commit

Permalink
Issue 1827: Improve language when reporting invalid Repository URL er…
Browse files Browse the repository at this point in the history
…ror.
  • Loading branch information
kaladay committed Jul 7, 2023
1 parent e8d72a6 commit 9474039
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public Map<String, String> getCollections(DepositLocation depLocation) {
return foundCollections;
} catch (MalformedURLException murle) {
logger.debug("The repository is an invalid URL", murle);
throw new SwordDepositException("The repository is an invalid URL", murle);
throw new SwordDepositException("The repository URL is invalid.", murle);
} catch (RuntimeException | SWORDClientException re) {
String message = re.getMessage();

Expand Down

0 comments on commit 9474039

Please sign in to comment.