diff --git a/contrib/search_api_views/search_api_views.views.inc b/contrib/search_api_views/search_api_views.views.inc
index f537f6b..516e908 100644
--- a/contrib/search_api_views/search_api_views.views.inc
+++ b/contrib/search_api_views/search_api_views.views.inc
@@ -4,6 +4,16 @@
  * Implements hook_views_data().
  */
 function search_api_views_views_data() {
+  try {
+    _search_api_views_views_data();
+  }
+  catch (SearchApiException $exception) {
+    watchdog_exception('search_api', $exception);
+  }
+}
+
+
+function _search_api_views_views_data() {
   $data = array();
   $entity_types = entity_get_info();
   foreach (search_api_index_load_multiple(FALSE) as $index) {
