mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
打印错误日志
This commit is contained in:
@@ -70,6 +70,7 @@ public abstract class AbstractCanalAdapterWorker {
|
|||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
logger.error(e.getMessage(), e);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
@@ -108,6 +109,7 @@ public abstract class AbstractCanalAdapterWorker {
|
|||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
logger.error(e.getMessage(), e);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user