Browse Source

[indexer] Raise error if failed to create indexer collection

Erick Tryzelaar 10 years ago
parent
commit
8c110ad
1 changed files with 1 additions and 0 deletions
  1. 1 0
      desktop/libs/indexer/src/indexer/controller.py

+ 1 - 0
desktop/libs/indexer/src/indexer/controller.py

@@ -150,6 +150,7 @@ class CollectionManagerController(object):
           zc.delete_path(root_node)
           zc.delete_path(root_node)
         except Exception, e:
         except Exception, e:
           raise PopupException(_('Error in deleting Solr configurations.'), detail=e)
           raise PopupException(_('Error in deleting Solr configurations.'), detail=e)
+        raise PopupException(_('Could not create collection. Check error logs for more info.'))
     else:
     else:
       # Non-solrcloud mode
       # Non-solrcloud mode
       # Create instance directory locally.
       # Create instance directory locally.