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 2019/09/13 21:10:08 UTC

[jmeter] branch master updated: Improve error reporting (#490)

This is an automated email from the ASF dual-hosted git repository.

pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 7335a70  Improve error reporting (#490)
7335a70 is described below

commit 7335a7058b4030707f0046efcd8018e357e0be19
Author: anaeimian <ar...@gmail.com>
AuthorDate: Fri Sep 13 17:10:01 2019 -0400

    Improve error reporting (#490)
    
    Based on a previous issue (Bug 58987), all the cases of Log + Rethrow have been removed except this one. So I think it should be removed here as well.
---
 .../main/java/org/apache/jmeter/report/dashboard/ReportGenerator.java    | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/core/src/main/java/org/apache/jmeter/report/dashboard/ReportGenerator.java b/src/core/src/main/java/org/apache/jmeter/report/dashboard/ReportGenerator.java
index ecf1287..4a0e7bc 100644
--- a/src/core/src/main/java/org/apache/jmeter/report/dashboard/ReportGenerator.java
+++ b/src/core/src/main/java/org/apache/jmeter/report/dashboard/ReportGenerator.java
@@ -361,7 +361,6 @@ public class ReportGenerator {
             entryPoint.addSampleConsumer(graph);
         } catch (ClassCastException | IllegalArgumentException |  ReflectiveOperationException | SecurityException ex) {
             String error = String.format(INVALID_CLASS_FMT, className);
-            log.error(error, ex);
             throw new GenerationException(error, ex);
         }
     }