DBZ-4631 fix compilation error "text blocks are not supported in -source 11"

This commit is contained in:
ggaborg 2022-08-16 19:23:39 +03:00 committed by Jiri Pechanec
parent 0181122274
commit 9676af7a93

View File

@ -164,11 +164,10 @@ public boolean executeIteration(ChangeEventSourceContext context, SqlServerParti
}
catch (SQLException e) {
if (!supressAgentCheckException) {
LOGGER.warn("""
No maximum LSN recorded in the database; this may happen if there are no changes recorded in the change table yet or \
low activity database where the cdc clean up job periodically clears entries from the cdc tables. \
Otherwise, this may be an indication that the SQL Server Agent is not running. \
You should follow the documentation on how to configure SQL Server Agent running status query.""");
LOGGER.warn("No maximum LSN recorded in the database; this may happen if there are no changes recorded in the change table yet or " +
"low activity database where the cdc clean up job periodically clears entries from the cdc tables. " +
"Otherwise, this may be an indication that the SQL Server Agent is not running. " +
"You should follow the documentation on how to configure SQL Server Agent running status query.");
LOGGER.error("Cannot query the status of the SQL Server Agent", e);
supressAgentCheckException = true;
}