mirror of
https://gitee.com/dcren/initializr.git
synced 2025-05-06 21:58:08 +08:00
Properly handle spring boot version metadata failure
See gh-145
This commit is contained in:
parent
04b2777b32
commit
593b9ec878
@ -66,7 +66,8 @@ public class DefaultInitializrMetadataUpdateStrategy
|
||||
/**
|
||||
* Fetch the available Spring Boot versions using the specified service url.
|
||||
* @param url the url to the spring-boot project metadata
|
||||
* @return the spring boot versions metadata.
|
||||
* @return the spring boot versions metadata or {@code null} if it could not be
|
||||
* retrieved
|
||||
*/
|
||||
protected List<DefaultMetadataElement> fetchSpringBootVersions(String url) {
|
||||
if (StringUtils.hasText(url)) {
|
||||
|
Loading…
Reference in New Issue
Block a user