Parcourir la source

[indexer] Raise error if failed to create indexer collection

Erick Tryzelaar il y a 10 ans
Parent
commit
8c110ad
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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)
         except Exception, e:
           raise PopupException(_('Error in deleting Solr configurations.'), detail=e)
+        raise PopupException(_('Could not create collection. Check error logs for more info.'))
     else:
       # Non-solrcloud mode
       # Create instance directory locally.