Преглед изворни кода

[indexer] Raise error if failed to create indexer collection

Erick Tryzelaar пре 10 година
родитељ
комит
8c110ad
1 измењених фајлова са 1 додато и 0 уклоњено
  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.