Skip to content

Commit ce821a5

Browse files
committed
Fix throw exception
1 parent 2c1ef5d commit ce821a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flink-connector-clickhouse-integration/src/test/java/com/clickhouse/flink/integration/FlinkTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ private String getRoot() throws Exception {
3737
if (GITHUB_WORKSPACE != null)
3838
return GITHUB_WORKSPACE;
3939
else
40-
new RuntimeException("Can not get root path");
41-
return null;
40+
throw new RuntimeException("Can not get root path");
4241
}
4342

4443
private String exampleSubFolder(String flinkVersion) {

0 commit comments

Comments
 (0)