Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
cuisongliu committed Jan 8, 2018
2 parents 02a8a49 + 9423fdf commit c7588a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class MybatisGenerator extends DefaultTask {

myBatisGenerator.generate(new GradleProgressCallback(project.mbg.consoleable), contextsToRun, fullyqualifiedTables);
} catch (Exception e) {
throw new GradleException(e.getMessage());
throw new GradleException(e.getMessage(), e);
}
for (String error : warnings) {
println(error);
Expand Down

0 comments on commit c7588a3

Please # to comment.