View | Details | Raw Unified | Return to bug 64440
Collapse All | Expand All

(-)a/src/core/src/main/java/org/apache/jmeter/util/JMeterUtils.java (-5 / +5 lines)
Lines 875-887 public class JMeterUtils implements UnitTestManager { Link Here
875
            errorMsg = "Unknown error - see log file";
875
            errorMsg = "Unknown error - see log file";
876
            log.warn("Unknown error", new Throwable("errorMsg == null"));
876
            log.warn("Unknown error", new Throwable("errorMsg == null"));
877
        }
877
        }
878
        if (exception != null) {
879
            log.error(errorMsg, exception);
880
        } else {
881
            log.error(errorMsg);
882
        }
878
        GuiPackage instance = GuiPackage.getInstance();
883
        GuiPackage instance = GuiPackage.getInstance();
879
        if (instance == null) {
884
        if (instance == null) {
880
            if(exception != null) {
881
                log.error(errorMsg, exception);
882
            } else {
883
                log.error(errorMsg);
884
            }
885
            System.out.println(errorMsg); // NOSONAR intentional
885
            System.out.println(errorMsg); // NOSONAR intentional
886
            return; // Done
886
            return; // Done
887
        }
887
        }

Return to bug 64440