sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From npelt...@apache.org
Subject [sling-org-apache-sling-pipes] branch master updated: SLING-7639 enhance error message
Date Sat, 05 May 2018 22:20:38 GMT
This is an automated email from the ASF dual-hosted git repository.

npeltier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-pipes.git


The following commit(s) were added to refs/heads/master by this push:
     new 9586726  SLING-7639 enhance error message
9586726 is described below

commit 95867269c6d033cd388dfc9eb4b439cb72245666
Author: Nicolas Peltier <peltier.nicolas@gmail.com>
AuthorDate: Sun May 6 00:20:31 2018 +0200

    SLING-7639 enhance error message
---
 src/main/java/org/apache/sling/pipes/PipeBindings.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/pipes/PipeBindings.java b/src/main/java/org/apache/sling/pipes/PipeBindings.java
index 63357cf..d28ffe7 100644
--- a/src/main/java/org/apache/sling/pipes/PipeBindings.java
+++ b/src/main/java/org/apache/sling/pipes/PipeBindings.java
@@ -162,7 +162,7 @@ public class PipeBindings {
                 try {
                     engine.eval(new InputStreamReader(is), scriptContext);
                 } catch (Exception e) {
-                    log.error("unable to execute {}", path);
+                    log.error("Add script: unable to evaluate script {}", path, e);
                 }
             }
         } finally {

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

Mime
View raw message