Author: dkuleshov
Date: 2011-01-06 03:37:35 -0500 (Thu, 06 Jan 2011)
New Revision: 3778
Modified:
jcr/branches/1.12.x/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/script/groovy/GroovyScript2RestLoader.java
Log:
JCR-1557: fixed error message format on failure of groovy scripts loading
Modified:
jcr/branches/1.12.x/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/script/groovy/GroovyScript2RestLoader.java
===================================================================
---
jcr/branches/1.12.x/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/script/groovy/GroovyScript2RestLoader.java 2011-01-05
15:24:51 UTC (rev 3777)
+++
jcr/branches/1.12.x/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/script/groovy/GroovyScript2RestLoader.java 2011-01-06
08:37:35 UTC (rev 3778)
@@ -436,7 +436,8 @@
}
catch (Exception e)
{
- LOG.error("Error occured while trying to load script " +
node.getParent().getName());
+ LOG.error("Error occured while trying to load script at " +
repositoryName + "/" + workspaceName
+ + node.getPath(), e);
}
}
Show replies by date