Skip to content

Commit

Permalink
Improve error reporting when parsing modules
Browse files Browse the repository at this point in the history
Provide the source exception
  • Loading branch information
PerfectCarl authored and Notalifeform committed Aug 25, 2013
1 parent 1267f03 commit 3190aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/play/Play.java
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ public static void loadModules() {
try {
modules = dm.retrieveModules();
} catch (Exception e) {
throw new UnexpectedException("There was a problem parsing "+ DependenciesManager.MODULE_ORDER_CONF);
throw new UnexpectedException("There was a problem parsing "+ DependenciesManager.MODULE_ORDER_CONF, e);

}
for (Iterator iter = modules.iterator(); iter.hasNext();) {
Expand Down

0 comments on commit 3190aba

Please sign in to comment.