You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/03/26 19:12:06 UTC

svn commit: r1788768 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java

Author: pmouawad
Date: Sun Mar 26 19:12:06 2017
New Revision: 1788768

URL: http://svn.apache.org/viewvc?rev=1788768&view=rev
Log:
Mention property in case of error

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java?rev=1788768&r1=1788767&r2=1788768&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java Sun Mar 26 19:12:06 2017
@@ -22,8 +22,8 @@ import java.net.URL;
 
 import org.apache.commons.lang3.Validate;
 import org.apache.jmeter.util.JMeterUtils;
-import org.slf4j.LoggerFactory;
 import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import com.helger.css.handler.ICSSParseExceptionCallback;
 import com.helger.css.parser.ParseException;
@@ -59,7 +59,11 @@ public class CSSParseExceptionCallback i
         if (IGNORE_UNRECOVERABLE_PARSING_ERROR) {
             LOG.warn(message);
         } else {
-            throw new IllegalArgumentException(message);
+            throw new IllegalArgumentException(
+                    "Unrecoverable error met during parsing, "
+                    + "you can ignore such errors by setting property:"
+                    + "'httpsampler.ignore_failed_embedded_resource' to true, message:"
+                    + message);
         }
 
     }