Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bcb5d7e

Browse filesBrowse files
authored
Merge pull request #40 from utPLSQL/bugfix/issue-38-stack-trace
Fix stack trace showing on tests failure
2 parents f71dd6f + 844b86b commit bcb5d7e
Copy full SHA for bcb5d7e

File tree

Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed

‎pom.xml

Copy file name to clipboardExpand all lines: pom.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.utplsql</groupId>
77
<artifactId>utplsql-maven-plugin</artifactId>
8-
<version>3.1.1-SNAPSHOT</version>
8+
<version>3.1.2-SNAPSHOT</version>
99
<packaging>maven-plugin</packaging>
1010

1111
<name>utPLSQL Maven Plugin</name>
@@ -55,7 +55,7 @@
5555
<dependency>
5656
<groupId>org.utplsql</groupId>
5757
<artifactId>java-api</artifactId>
58-
<version>3.1.1</version>
58+
<version>3.1.2</version>
5959
</dependency>
6060

6161
<dependency>

‎src/main/java/org/utplsql/maven/plugin/UtPLSQLMojo.java

Copy file name to clipboardExpand all lines: src/main/java/org/utplsql/maven/plugin/UtPLSQLMojo.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,10 @@ public void execute() throws MojoExecutionException {
164164
runner.run(connection);
165165

166166
} catch (SomeTestsFailedException e) {
167-
getLog().error(e);
168-
throw new MojoExecutionException(e.getMessage());
167+
if (!this.ignoreFailure) {
168+
throw new MojoExecutionException(e.getMessage(), e);
169+
}
169170
} catch (SQLException e) {
170-
getLog().error(e);
171171
throw new MojoExecutionException(e.getMessage(), e);
172172
} finally {
173173
try {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.