fixed issue #321 , process TableIdNotFoundException

This commit is contained in:
agapple
2017-06-22 13:37:11 +08:00
parent f6c2eb8963
commit 3e5b3e1467
@@ -191,6 +191,9 @@ public abstract class AbstractEventParser<EVENT> extends AbstractCanalLifeCycle
} catch (TableIdNotFoundException e) {
throw e;
} catch (Throwable e) {
if (e.getCause() instanceof TableIdNotFoundException) {
throw (TableIdNotFoundException) e.getCause();
}
// 记录一下,出错的位点信息
processSinkError(e,
this.lastPosition,