Merge pull request #551 from deathbeam/fix-info-plugin-log

Fix logging inside info panel plugin
This commit is contained in:
Adam
2018-02-09 15:51:39 -05:00
committed by GitHub

View File

@@ -66,7 +66,6 @@ public class JRichTextPane extends JEditorPane
{ {
linkHandler = e -> linkHandler = e ->
{ {
log.info(e.toString());
if (HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType()) && e.getURL() != null) if (HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType()) && e.getURL() != null)
{ {
if (Desktop.isDesktopSupported()) if (Desktop.isDesktopSupported())
@@ -77,7 +76,7 @@ public class JRichTextPane extends JEditorPane
} }
catch (URISyntaxException | IOException ex) catch (URISyntaxException | IOException ex)
{ {
log.info("Error opening link", ex); log.warn("Error opening link", ex);
} }
} }
} }