tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [5/6] tinkerpop git commit: TINKERPOP-1644 Fix exception handling.
Date Wed, 08 Mar 2017 18:14:33 GMT
TINKERPOP-1644
Fix exception handling.


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

Branch: refs/heads/TINKERPOP-1644
Commit: c3d0319e1a62409543b6e3458acad72ff117a008
Parents: d50a484
Author: BrynCooke <bryncooke@gmail.com>
Authored: Wed Mar 8 13:26:31 2017 +0000
Committer: BrynCooke <bryncooke@gmail.com>
Committed: Wed Mar 8 13:26:31 2017 +0000

----------------------------------------------------------------------
 .../tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c3d0319e/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
index 2151a82..cadc3b0 100644
--- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
+++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
@@ -174,7 +174,7 @@ public class GremlinGroovyScriptEngine extends GroovyScriptEngineImpl
                     return loader.parseClass(script, generateScriptName());
                 } catch (CompilationFailedException e) {
                     long finish = System.currentTimeMillis();
-                    log.error("Script compilation FAILED {} took {}ms {}", script, finish
- start, e.getCause());
+                    log.error("Script compilation FAILED {} took {}ms {}", script, finish
- start, e);
                     throw e;
                 } finally {
                     long time = System.currentTimeMillis() - start;


Mime
View raw message