Эх сурвалжийг харах

[indexer] Raise error if failed to create indexer collection

Erick Tryzelaar 10 жил өмнө
parent
commit
8c110ad

+ 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.