You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2014/12/01 10:07:09 UTC

tomee git commit: TOMEE-1462 dont hide assertion errors

Repository: tomee
Updated Branches:
  refs/heads/develop 3521abac8 -> fc7fc3e9f


TOMEE-1462 dont hide assertion errors


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/fc7fc3e9
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/fc7fc3e9
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/fc7fc3e9

Branch: refs/heads/develop
Commit: fc7fc3e9f7762595b702a3cd7406d0f981ade397
Parents: 3521aba
Author: Romain Manni-Bucau <rm...@apache.org>
Authored: Mon Dec 1 10:06:52 2014 +0100
Committer: Romain Manni-Bucau <rm...@apache.org>
Committed: Mon Dec 1 10:06:52 2014 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/openejb/junit/DeployApplication.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/fc7fc3e9/container/openejb-core/src/main/java/org/apache/openejb/junit/DeployApplication.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/junit/DeployApplication.java b/container/openejb-core/src/main/java/org/apache/openejb/junit/DeployApplication.java
index 5a763c1..74d41c9 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/junit/DeployApplication.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/junit/DeployApplication.java
@@ -42,6 +42,8 @@ public class DeployApplication extends Statement {
             public Void call() throws Exception {
                 try {
                     next.evaluate();
+                } catch (final Error e) {
+                    throw e;
                 } catch (final Throwable throwable) {
                     if (throwable instanceof Exception) {
                         throw (Exception) throwable;