jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380584 - /jmeter/trunk/src/functions/org/apache/jmeter/functions/JavaScript.java
Date Tue, 04 Sep 2012 11:59:08 GMT
Author: pmouawad
Date: Tue Sep  4 11:59:07 2012
New Revision: 1380584

URL: http://svn.apache.org/viewvc?rev=1380584&view=rev
Log:
Cascade exceptions

Modified:
    jmeter/trunk/src/functions/org/apache/jmeter/functions/JavaScript.java

Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/JavaScript.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/functions/org/apache/jmeter/functions/JavaScript.java?rev=1380584&r1=1380583&r2=1380584&view=diff
==============================================================================
--- jmeter/trunk/src/functions/org/apache/jmeter/functions/JavaScript.java (original)
+++ jmeter/trunk/src/functions/org/apache/jmeter/functions/JavaScript.java Tue Sep  4 11:59:07
2012
@@ -94,7 +94,7 @@ public class JavaScript extends Abstract
 
         } catch (RhinoException e) {
             log.error("Error processing Javascript: [" + script + "]\n", e);
-            throw new InvalidVariableException();
+            throw new InvalidVariableException("Error processing Javascript: [" + script
+ "]", e);
         } finally {
             Context.exit();
         }



Mime
View raw message