(TK-101) Re-throw IOException from AsyncClose/close call
This commit rethrows any `IOException` caught on a closeable close call made from the `AsyncClose` class.
This commit is contained in:
parent
f859bd907a
commit
cbeacd1860
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ public class AsyncClose {
|
|||
this.closeable.close();
|
||||
} catch (IOException ioe) {
|
||||
LOGGER.error("Async close error", ioe);
|
||||
throw new RuntimeException("Async close error", ioe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue