jenkins-bot has submitted this change and it was merged.

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(-)

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



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/165140
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I39ca304ad73d747d7d427fb15f74c4dfaee5b638
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to