From 51bd528b7b215425e5a4a8477ea22b3e1fb09f8f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 26 Feb 2015 12:40:20 -0800 Subject: [PATCH] Made insertMessageBlob only catch DBError for sanity Change-Id: I1614e7fde052e7b6f9d86d86af6eed1ba52dc430 --- includes/MessageBlobStore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/MessageBlobStore.php b/includes/MessageBlobStore.php index 6f7e8e5774..c3841882bf 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; -- 2.20.1