openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantan...@apache.org
Subject [incubator-openwhisk] branch master updated: print stack trace in exception block to improve debugging (#3674)
Date Sat, 19 May 2018 01:01:37 GMT
This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 9406a69  print stack trace in exception block to improve debugging (#3674)
9406a69 is described below

commit 9406a6987a76fdfac8e674b4d2afaecc6f96e652
Author: Steffen Rost <srost@de.ibm.com>
AuthorDate: Sat May 19 03:01:34 2018 +0200

    print stack trace in exception block to improve debugging (#3674)
---
 tests/src/test/scala/common/WskTestHelpers.scala | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/src/test/scala/common/WskTestHelpers.scala b/tests/src/test/scala/common/WskTestHelpers.scala
index 7582b81..098d5cc 100644
--- a/tests/src/test/scala/common/WskTestHelpers.scala
+++ b/tests/src/test/scala/common/WskTestHelpers.scala
@@ -167,6 +167,7 @@ trait WskTestHelpers extends Matchers {
       case t: Throwable =>
         // log the exception that occurred in the test and rethrow it
         println(s"Exception occurred during test execution: $t")
+        t.printStackTrace()
         throw t
     } finally {
       // delete assets in reverse order so that was created last is deleted first

-- 
To stop receiving notification emails like this one, please contact
csantanapr@apache.org.

Mime
View raw message