Bug 64440 - Log exception in reportToUser even when displaying an error via GUI
Summary: Log exception in reportToUser even when displaying an error via GUI
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: Nightly (Please specify date)
Hardware: All All
: P2 enhancement (vote)
Target Milestone: JMETER_5.3.0
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-14 13:56 UTC by Felix Schumacher
Modified: 2020-05-28 14:15 UTC (History)
0 users



Attachments
Always log an exception in jmeter.log, even when in GUI mode (1.01 KB, patch)
2020-05-14 14:00 UTC, Felix Schumacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Schumacher 2020-05-14 13:56:54 UTC
When in GUI mode no exception will be logged when the method JMeterUtils#reportToUser is called. I think the exception should be logged independent of the mode.
Comment 1 Felix Schumacher 2020-05-14 14:00:32 UTC
Created attachment 37245 [details]
Always log an exception in jmeter.log, even when in GUI mode
Comment 2 Felix Schumacher 2020-05-28 14:15:40 UTC
commit 6e13c4d2c7e352362621ee9f6f9b47e0a84d19c1
AuthorDate: Thu May 28 16:14:32 2020 +0200

    Log exeptions reported via JMeterUtils#reportToUser even when in GUI mode
    
    Bugzilla Id: 64440
---
 src/core/src/main/java/org/apache/jmeter/util/JMeterUtils.java | 10 +++++-----
 xdocs/changes.xml                                              |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)