mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 01:39:02 +00:00
Improve error logging in InstallCommand
This commit is contained in:
+4
@@ -123,6 +123,10 @@ public class InstallCommand extends OptionParsingCommand {
|
||||
}
|
||||
FileUtils.deleteDirectory(tmpdir.toFile());
|
||||
}
|
||||
catch (Exception e) {
|
||||
String message = e.getMessage();
|
||||
Log.error(message != null ? message : e.getClass().toString());
|
||||
}
|
||||
finally {
|
||||
if (grapeRoot != null) {
|
||||
System.setProperty("grape.root", grapeRoot);
|
||||
|
||||
Reference in New Issue
Block a user