From e1950e34c605437dc2796531a2c3e904fe597d66 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 19 Jul 2016 08:48:04 +0100 Subject: [PATCH] Include cause when throwing exception due to unreadable manifest Closes gh-6417 --- .../springframework/boot/devtools/restart/ChangeableUrls.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java index 432086e300..d8124209fe 100644 --- a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java +++ b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/ChangeableUrls.java @@ -98,8 +98,8 @@ final class ChangeableUrls implements Iterable { } catch (IOException ex) { throw new IllegalStateException( - "Failed to read Class-Path attribute from manifest of jar " - + url); + "Failed to read Class-Path attribute from manifest of jar " + url, + ex); } } return Collections.emptyList();