DBZ-1671 Propagating exception instead of message only
This commit is contained in:
parent
a3129fd596
commit
f5b563ff87
@ -66,6 +66,7 @@ Jaromir Hamala
|
||||
Javier Holguera
|
||||
Jeremy Finzel
|
||||
Jiri Pechanec
|
||||
John Martin
|
||||
Jon Casstevens
|
||||
Jordan Bragg
|
||||
Jork Zijlstra
|
||||
|
@ -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 ...
|
||||
|
Loading…
Reference in New Issue
Block a user