mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 02:00:57 +00:00
Add mw.track call when comment setup fails
Bug: T310390 Change-Id: I6df98032469931276ea096a008fdf8f63893dff5
This commit is contained in:
parent
93713ffab4
commit
968250bb02
|
@ -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( {
|
||||
|
|
Loading…
Reference in a new issue