Skip to content

Commit b755515

Browse files
committed
Override getErrorDetailsProviderClassName
1 parent cbd3417 commit b755515

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

mysql-plugin/src/main/java/io/cdap/plugin/mysql/MysqlSink.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ String getDbColumns() {
109109
return dbColumns;
110110
}
111111

112+
@Override
113+
protected String getErrorDetailsProviderClassName() {
114+
return MysqlErrorDetailsProvider.class.getName();
115+
}
116+
112117
/**
113118
* MySQL action configuration.
114119
*/

mysql-plugin/src/main/java/io/cdap/plugin/mysql/MysqlSource.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ protected SchemaReader getSchemaReader() {
8484
return new MysqlSchemaReader(null, mysqlSourceConfig.getConnectionArguments());
8585
}
8686

87+
@Override
88+
protected String getErrorDetailsProviderClassName() {
89+
return MysqlErrorDetailsProvider.class.getName();
90+
}
91+
8792
/**
8893
* MySQL source config.
8994
*/

0 commit comments

Comments
 (0)