Index: includes/view.inc =================================================================== --- includes/view.inc (revision 1678) +++ includes/view.inc (working copy) @@ -2219,6 +2219,7 @@ $query = db_update($this->db_table) ->condition($update, $this->$update); } +try { $return = $query ->fields($fields) ->execute(); @@ -2230,6 +2231,12 @@ $this->$field = $return; } } +} +catch (PDOException $e) { + drupal_set_message(t('Error: %message', array('%message' => $e->getMessage())), 'error'); + watchdog_exception('views', $e); + throw $e; +} } /**