Skip to content

Commit 10159fa

Browse files
committed
Exception to Throwable
1 parent f64f18b commit 10159fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fluss-lake/fluss-lake-lance/src/test/java/com/alibaba/fluss/lake/lance/tiering/LanceArrowWriterTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ public void testLanceArrowWriter() throws Exception {
7171
arrowWriter.write(logRecord);
7272
}
7373
arrowWriter.setFinished();
74-
} catch (Exception e) {
75-
e.printStackTrace();
76-
throw e;
74+
} catch (Throwable t) {
75+
throw new RuntimeException(
76+
"Lance arrow writer thread failed.", t);
7777
}
7878
});
7979

0 commit comments

Comments
 (0)