From 6cc2ac9165cfc1b1ff4e416d7653225668ee38ee Mon Sep 17 00:00:00 2001 From: sndyuk Date: Sun, 3 May 2020 18:12:46 +0900 Subject: [PATCH] Print error message when Fluency throws IOException --- .../ch/qos/logback/more/appenders/FluencyLogbackAppender.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ch/qos/logback/more/appenders/FluencyLogbackAppender.java b/src/main/java/ch/qos/logback/more/appenders/FluencyLogbackAppender.java index 0e1740c..c359f92 100644 --- a/src/main/java/ch/qos/logback/more/appenders/FluencyLogbackAppender.java +++ b/src/main/java/ch/qos/logback/more/appenders/FluencyLogbackAppender.java @@ -101,6 +101,7 @@ protected void append(E event) { } } catch (IOException e) { // pass + addError("Fluency throws the error and the message has been omitted. " + data, e); } }