Skip to content

Commit

Permalink
Include the original exception that caused classloading to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jaikiran committed Nov 9, 2019
1 parent 58aaf25 commit 6928e42
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 6928e42

Please sign in to comment.