Add filename to exception

This commit is contained in:
Spencer Gibb
2017-12-01 22:13:17 -05:00
parent 30c7c31524
commit fc64302760

View File

@@ -42,7 +42,7 @@ class PomReader {
return xpp3Reader.read(reader);
}
catch (XmlPullParserException | IOException e) {
throw new IllegalStateException("Failed to read file", e);
throw new IllegalStateException("Failed to read file: "+pom.getAbsolutePath(), e);
}
}
}