Skip to content

Commit

Permalink
Throw UriSyntaxException in UriRegistryPopulator
Browse files Browse the repository at this point in the history
  • Loading branch information
markpollack committed Feb 10, 2017
1 parent 65726b6 commit c292ca3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public Map<String, URI> populateRegistry(boolean overwrite, UriRegistry registry
}
}
catch (URISyntaxException e) {
logger.warn(String.format("'%s' for '%s' is not a properly formed URI",
throw new IllegalArgumentException(String.format("'%s' for '%s' is not a properly formed URI",
properties.getProperty(key), key), e);
}
}
Expand Down

0 comments on commit c292ca3

Please sign in to comment.