Skip to content

Commit afcbb9c

Browse files
Fixes compilation issue
1 parent 03c57f1 commit afcbb9c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/main/java/com/teragrep/jla_04/RelpHandler.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,7 @@ public synchronized void flush() {
113113
} catch (IllegalStateException | IOException | java.util.concurrent.TimeoutException e) {
114114
System.out.println("RelpLogger.flush.commit> exception:");
115115
e.printStackTrace();
116-
try {
117-
this.relpConnection.tearDown();
118-
} catch (IOException ioException) {
119-
ioException.printStackTrace();
120-
}
116+
this.relpConnection.tearDown();
121117
this.connected = false;
122118
}
123119
// Check if everything has been sent, retry and reconnect if not.

0 commit comments

Comments
 (0)