You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2017/12/21 15:19:35 UTC

[airavata] branch master updated: Log error when failing to execute groovy template

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/master by this push:
     new 87d323c  Log error when failing to execute groovy template
87d323c is described below

commit 87d323cfbedad731e64bc22ecbdab5e75ad93eb6
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Thu Dec 21 10:18:42 2017 -0500

    Log error when failing to execute groovy template
---
 .../src/main/java/org/apache/airavata/gfac/core/GFacUtils.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
index 1bb9e6f..3ecc4a5 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
@@ -842,7 +842,7 @@ public class GFacUtils {
         try {
             make = engine.createTemplate(template).make(groovyMap);
         } catch (Exception e) {
-            throw new GFacException("Error while generating script using groovy map");
+            throw new GFacException("Error while generating script using groovy map", e);
         }
         return make.toString();
     }

-- 
To stop receiving notification emails like this one, please contact
['"commits@airavata.apache.org" <co...@airavata.apache.org>'].