Skip to content

Commit e1950e3

Browse files
committed
Include cause when throwing exception due to unreadable manifest
Closes gh-6417
1 parent 49676ee commit e1950e3

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart

1 file changed

+2
-2
lines changed

spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ private static List<URL> getUrlsFromClassPathOfJarManifestIfPossible(URL url) {
9898
}
9999
catch (IOException ex) {
100100
throw new IllegalStateException(
101-
"Failed to read Class-Path attribute from manifest of jar "
102-
+ url);
101+
"Failed to read Class-Path attribute from manifest of jar " + url,
102+
ex);
103103
}
104104
}
105105
return Collections.<URL>emptyList();

0 commit comments

Comments
 (0)