VE integration: Remove "unrecoverable" errors

Bug: T307330
Depends-On: I9680cc416da5b27881aeb3502f506dcb5d4bb71f
Change-Id: Ie133c74072fa3e9ab934a6a8b2052d25b68d1cbf
This commit is contained in:
Bartosz Dziewoński 2022-07-19 21:39:28 +02:00
parent 616bafa80c
commit 4b0bc0f47d

View file

@ -18,7 +18,7 @@ mw.loader.using( 'ext.visualEditor.targetLoader' ).then( function () {
return err.code === 'abusefilter-warning';
} );
// Handle warnings/errors from Extension:AbuseFilter
target.showSaveError( target.extractErrorMessages( data ), isWarning, isWarning );
target.showSaveError( target.extractErrorMessages( data ), isWarning );
// Emit event for tracking. TODO: This is a bad design
target.emit( 'saveErrorAbuseFilter' );
};