From 6a3ee211d21d0661890fee72518abcb68a96814f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 13 Jan 2009 15:42:10 +0000 Subject: [PATCH] (bug 15391) catch DBQueryError too --- includes/ExternalStore.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/ExternalStore.php b/includes/ExternalStore.php index d095aba01d..1e750bb5fa 100644 --- a/includes/ExternalStore.php +++ b/includes/ExternalStore.php @@ -92,6 +92,8 @@ class ExternalStore { $url = $store->store( $params, $data ); // Try to save the object } catch ( DBConnectionError $error ) { $url = false; + } catch( DBQueryError $error ) { + $url = false; } if ( $url ) { return $url; // Done! -- 2.20.1