improve log output for error cases by showing more details about what exactly went wrong
This commit is contained in:
@@ -38,7 +38,7 @@ public class ProjectVersionDiagnosticProvider {
|
||||
|
||||
URI buildFileUri = javaProject.getProjectBuild() == null ? null : javaProject.getProjectBuild().getBuildFile();
|
||||
if (buildFileUri == null) {
|
||||
throw new Exception("Unable to find build file in project while computing version validation for: ");
|
||||
throw new Exception("Unable to find build file in project while computing version validation for: " + javaProject.getElementName());
|
||||
}
|
||||
|
||||
Version javaProjectVersion = SpringProjectUtil.getSpringBootVersion(javaProject);
|
||||
|
||||
Reference in New Issue
Block a user