Explorar el Código

[indexer] Raise error if failed to create indexer collection

Erick Tryzelaar hace 10 años
padre
commit
8c110ad
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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.