aboutsummaryrefslogtreecommitdiffstats
path: root/includes/MessageBlobStore.php
diff options
context:
space:
mode:
authorAaron Schulz <aschulz@wikimedia.org>2015-02-26 12:40:20 -0800
committerAaron Schulz <aschulz@wikimedia.org>2015-02-26 12:40:20 -0800
commit51bd528b7b215425e5a4a8477ea22b3e1fb09f8f (patch)
treecf3a8730f46fef478e3b352889281b33c3e2f923 /includes/MessageBlobStore.php
parente5bc3400e4e884f67d79d4f59e438cd1a4dc7fdd (diff)
downloadmediawikicore-51bd528b7b215425e5a4a8477ea22b3e1fb09f8f.tar.gz
mediawikicore-51bd528b7b215425e5a4a8477ea22b3e1fb09f8f.zip
Made insertMessageBlob only catch DBError for sanity
Change-Id: I1614e7fde052e7b6f9d86d86af6eed1ba52dc430
Diffstat (limited to 'includes/MessageBlobStore.php')
-rw-r--r--includes/MessageBlobStore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/MessageBlobStore.php b/includes/MessageBlobStore.php
index 6f7e8e577413..c3841882bfd7 100644
--- a/includes/MessageBlobStore.php
+++ b/includes/MessageBlobStore.php
@@ -127,7 +127,7 @@ class MessageBlobStore {
);
}
}
- } catch ( Exception $e ) {
+ } catch ( DBError $e ) {
wfDebug( __METHOD__ . " failed to update DB: $e\n" );
}
return $blob;