[HUDI-1582] Throw an exception when syncHoodieTable() fails, with RuntimeException (#2536)
This commit is contained in:
committed by
GitHub
parent
9431aabfab
commit
b0010bf3b4
@@ -102,7 +102,7 @@ public class DLASyncTool extends AbstractSyncTool {
|
||||
throw new InvalidTableException(hoodieDLAClient.getBasePath());
|
||||
}
|
||||
} catch (RuntimeException re) {
|
||||
LOG.error("Got runtime exception when dla syncing", re);
|
||||
throw new HoodieException("Got runtime exception when dla syncing " + cfg.tableName, re);
|
||||
} finally {
|
||||
hoodieDLAClient.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user