mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Track ETag header responses in special event logging schema
Bug: T135171 Change-Id: I70d6db0897c3f08c28d5841302ba7e196f362e48
This commit is contained in:
parent
afd5944bde
commit
51dd790710
|
@ -183,6 +183,9 @@
|
|||
duration: ve.now() - start,
|
||||
targetName: targetName
|
||||
} );
|
||||
mw.track( 'event.VET135171', {
|
||||
msg: 'getResponseHeader: ' + jqxhr.getResponseHeader( 'etag' )
|
||||
} );
|
||||
return [ data, jqxhr.getResponseHeader( 'etag' ) ];
|
||||
},
|
||||
function ( response ) {
|
||||
|
|
Loading…
Reference in a new issue