jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1656194 - /jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java
Date Sat, 31 Jan 2015 14:19:23 GMT
Author: pmouawad
Date: Sat Jan 31 14:19:23 2015
New Revision: 1656194

URL: http://svn.apache.org/r1656194
Log:
Add element name for easier debugging

Modified:
    jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java

Modified: jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java?rev=1656194&r1=1656193&r2=1656194&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java
(original)
+++ jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java
Sat Jan 31 14:19:23 2015
@@ -72,12 +72,12 @@ public class JSR223Sampler extends JSR22
                 result.setResponseData(ret.toString(), null);
             }
         } catch (IOException e) {
-            log.error("Problem in JSR223 script "+e, e);
+            log.error("Problem in JSR223 script "+getName()+", message:"+e, e);
             result.setSuccessful(false);
             result.setResponseCode("500"); // $NON-NLS-1$
             result.setResponseMessage(e.toString());
         } catch (ScriptException e) {
-            log.error("Problem in JSR223 script "+e, e);
+            log.error("Problem in JSR223 script "+getName()+", message:"+e, e);
             result.setSuccessful(false);
             result.setResponseCode("500"); // $NON-NLS-1$
             result.setResponseMessage(e.toString());



Mime
View raw message