fixed adapter throw exception

This commit is contained in:
agapple
2018-12-28 16:55:44 +08:00
parent f100aeda39
commit f72ac9a3bb
7 changed files with 204 additions and 177 deletions

View File

@@ -100,7 +100,7 @@ public class ESSyncService {
dml.getDestination(),
config.getEsMapping().get_index());
}
} catch (Exception e) {
} catch (Throwable e) {
logger.error("sync error, es index: {}, DML : {}", config.getEsMapping().get_index(), dml);
throw new RuntimeException(e);
}