Skip to content

Commit c7588a3

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 02a8a49 + 9423fdf commit c7588a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/com/cuisongliu/plugin/generator/mybatis/MybatisGenerator.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class MybatisGenerator extends DefaultTask {
8686

8787
myBatisGenerator.generate(new GradleProgressCallback(project.mbg.consoleable), contextsToRun, fullyqualifiedTables);
8888
} catch (Exception e) {
89-
throw new GradleException(e.getMessage());
89+
throw new GradleException(e.getMessage(), e);
9090
}
9191
for (String error : warnings) {
9292
println(error);

0 commit comments

Comments
 (0)