Aude has uploaded a new change for review.

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

Change subject: log SerializationException in EntityContentDataCodec
......................................................................

log SerializationException in EntityContentDataCodec

Change-Id: I39ca304ad73d747d7d427fb15f74c4dfaee5b638
---
M lib/includes/store/EntityContentDataCodec.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/41/165141/1

diff --git a/lib/includes/store/EntityContentDataCodec.php 
b/lib/includes/store/EntityContentDataCodec.php
index fad8d48..27e4c0d 100644
--- a/lib/includes/store/EntityContentDataCodec.php
+++ b/lib/includes/store/EntityContentDataCodec.php
@@ -142,6 +142,7 @@
                        return $this->encodeEntityContentData( $data, $format );
                }
                catch ( SerializationException $ex ) {
+                       \MWExceptionHandler::logException( $ex );
                        throw new MWContentSerializationException( 
$ex->getMessage(), 0, $ex );
                }
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I39ca304ad73d747d7d427fb15f74c4dfaee5b638
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: wmf/1.25wmf1
Gerrit-Owner: Aude <aude.w...@gmail.com>

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

Reply via email to