summaryrefslogtreecommitdiff
path: root/includes/ExternalStore.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/ExternalStore.php')
-rw-r--r--includes/ExternalStore.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/ExternalStore.php b/includes/ExternalStore.php
index d095aba0..1e750bb5 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!