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

(-)a/src/core/org/apache/jmeter/gui/action/Help.java (-2 / +11 lines)
Lines 99-105 public class Help implements Command { Link Here
99
            helpDoc.setPage(url.toString()); // N.B. this only reloads if necessary (ignores the reference)
99
            helpDoc.setPage(url.toString()); // N.B. this only reloads if necessary (ignores the reference)
100
        } catch (IOException ioe) {
100
        } catch (IOException ioe) {
101
            log.error(ioe.toString());
101
            log.error(ioe.toString());
102
            JMeterUtils.reportErrorToUser("Problem loading a help page - see log for details");
102
            helpDoc.setText("<html><head><title>Problem loading help page</title>"
103
                    + "<style><!--"
104
                    + ".note { background-color: #ffeeee; border: 1px solid brown; }"
105
                    + "div { padding: 10; margin: 10; }"
106
                    + "--></style></head>"
107
                    + "<body><div class='note'>"
108
                    + "<h1>Problem loading help page</h1>"
109
                    + "<div>Can't load url: &quot;<em>"
110
                    + url.toString() + "</em>&quot;</div>"
111
                    + "<div>See log for more info</div>"
112
                    + "</body>");
103
        }
113
        }
104
    }
114
    }
105
115
106
- 

Return to bug 59425