Made insertMessageBlob only catch DBError for sanity
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 26 Feb 2015 20:40:20 +0000 (12:40 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 26 Feb 2015 20:40:20 +0000 (12:40 -0800)
Change-Id: I1614e7fde052e7b6f9d86d86af6eed1ba52dc430

includes/MessageBlobStore.php

index 6f7e8e5..c384188 100644 (file)
@@ -127,7 +127,7 @@ class MessageBlobStore {
                                        );
                                }
                        }
-               } catch ( Exception $e ) {
+               } catch ( DBError $e ) {
                        wfDebug( __METHOD__ . " failed to update DB: $e\n" );
                }
                return $blob;