1
0

[HUDI-1582] Throw an exception when syncHoodieTable() fails, with RuntimeException (#2536)

This commit is contained in:
Balajee Nagasubramaniam
2021-02-17 17:34:15 -08:00
committed by GitHub
parent 9431aabfab
commit b0010bf3b4
2 changed files with 3 additions and 2 deletions

View File

@@ -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();
}