DBZ-1671 Propagating exception instead of message only

This commit is contained in:
Gunnar Morling 2019-12-17 07:25:51 +01:00
parent a3129fd596
commit f5b563ff87
2 changed files with 3 additions and 2 deletions

View File

@ -66,6 +66,7 @@ Jaromir Hamala
Javier Holguera
Jeremy Finzel
Jiri Pechanec
John Martin
Jon Casstevens
Jordan Bragg
Jork Zijlstra

View File

@ -75,7 +75,7 @@ public SnapshotReader(String name, MySqlTaskContext context) {
}
/**
* Create a snapshot reader that can use global locking onyl optionally.
* Create a snapshot reader that can use global locking only optionally.
* Used mostly for testing.
*
* @param name the name of this reader; may not be null
@ -279,7 +279,7 @@ protected void execute() {
mysql.executeWithoutCommitting(sql.get());
}
catch (SQLException e) {
logger.warn("Unable to set innodb_lock_wait_timeout due to error: {}", e.getMessage());
logger.warn("Unable to set innodb_lock_wait_timeout", e);
}
// Generate the DDL statements that set the charset-related system variables ...