Add mw.track call when comment setup fails

Bug: T310390
Change-Id: I6df98032469931276ea096a008fdf8f63893dff5
This commit is contained in:
David Lynch 2022-09-14 01:23:07 -05:00
parent 93713ffab4
commit 968250bb02

View file

@ -156,6 +156,7 @@ CommentController.prototype.setup = function ( mode, hideErrors, suppressNotific
code instanceof Error ? code.toString() : controller.getApi().getErrorMessage( data ),
{ size: 'medium' }
);
mw.track( 'dt.commentSetupError', code );
}
logger( {