[MediaWiki-commits] [Gerrit] mediawiki...UploadWizard[master]: uw.EventFlowLogger: Ignore noise from module store failures

2017-01-13 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/310675 )

Change subject: uw.EventFlowLogger: Ignore noise from module store failures
..


uw.EventFlowLogger: Ignore noise from module store failures

Change-Id: If2b32a233b0cca7513228920c5a5bd147a2e690f
---
M resources/uw.EventFlowLogger.js
1 file changed, 9 insertions(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jforrester: Looks good to me, approved



diff --git a/resources/uw.EventFlowLogger.js b/resources/uw.EventFlowLogger.js
index 8802602..df642a4 100644
--- a/resources/uw.EventFlowLogger.js
+++ b/resources/uw.EventFlowLogger.js
@@ -207,6 +207,15 @@
} );
 
mw.trackSubscribe( 'resourceloader.exception', function ( 
topic, data ) {
+   // Ignore noise about 'localStorage' being undefined or 
module store exceeding the quota
+   if (
+   data.source === 'store-localstorage-init' ||
+   data.source === 'store-localstorage-json' ||
+   data.source === 'store-localstorage-update'
+   ) {
+   return;
+   }
+
self.log( 'UploadWizardExceptionFlowEvent', {
message: data.exception.message,
url: 'resourceLoader://' + data.source + '/' + 
data.module, // Bleh

-- 
To view, visit https://gerrit.wikimedia.org/r/310675
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If2b32a233b0cca7513228920c5a5bd147a2e690f
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński 
Gerrit-Reviewer: Jforrester 
Gerrit-Reviewer: MarkTraceur 
Gerrit-Reviewer: Matthias Mullie 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...UploadWizard[master]: uw.EventFlowLogger: Ignore noise from module store failures

2016-09-14 Thread Code Review
Bartosz Dziewoński has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/310675

Change subject: uw.EventFlowLogger: Ignore noise from module store failures
..

uw.EventFlowLogger: Ignore noise from module store failures

Change-Id: If2b32a233b0cca7513228920c5a5bd147a2e690f
---
M resources/uw.EventFlowLogger.js
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard 
refs/changes/75/310675/1

diff --git a/resources/uw.EventFlowLogger.js b/resources/uw.EventFlowLogger.js
index 8802602..df642a4 100644
--- a/resources/uw.EventFlowLogger.js
+++ b/resources/uw.EventFlowLogger.js
@@ -207,6 +207,15 @@
} );
 
mw.trackSubscribe( 'resourceloader.exception', function ( 
topic, data ) {
+   // Ignore noise about 'localStorage' being undefined or 
module store exceeding the quota
+   if (
+   data.source === 'store-localstorage-init' ||
+   data.source === 'store-localstorage-json' ||
+   data.source === 'store-localstorage-update'
+   ) {
+   return;
+   }
+
self.log( 'UploadWizardExceptionFlowEvent', {
message: data.exception.message,
url: 'resourceLoader://' + data.source + '/' + 
data.module, // Bleh

-- 
To view, visit https://gerrit.wikimedia.org/r/310675
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If2b32a233b0cca7513228920c5a5bd147a2e690f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits