mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 08:23:52 +00:00
Merge "Add mw.track call when comment setup fails"
This commit is contained in:
commit
99c772d4ee
|
@ -160,6 +160,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