Skip to content

Commit

Permalink
Merge pull request #5344 from jaikiran/recorder-include-ex
Browse files Browse the repository at this point in the history
Include the original exception that caused classloading to fail
  • Loading branch information
geoand authored Nov 9, 2019
2 parents c93ba5a + 6928e42 commit c815b98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private Class<?> load(String className, ClassLoader cl) {
try {
return Class.forName(className, true, cl);
} catch (ClassNotFoundException e) {
throw new IllegalStateException("Unable to load the config property type: " + className);
throw new IllegalStateException("Unable to load the config property type: " + className, e);
}
}

Expand Down

0 comments on commit c815b98

Please sign in to comment.