We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a724522 commit 8df2c15Copy full SHA for 8df2c15
index.js
@@ -248,8 +248,10 @@ ZongJi.prototype.start = function (options = {}) {
248
try {
249
event.updateColumnInfo();
250
} catch (error) {
251
- const error = new Error('Historical event received with unrecoverable schema changes.', { cause: err });
252
- this.emit('error', error);
+ const schemaError = new Error('Historical event received with unrecoverable schema changes.', {
+ cause: err
253
+ });
254
+ this.emit('error', schemaError);
255
return;
256
}
257
this.emit('binlog', event);
0 commit comments