소스 검색

[indexer] Raise error if failed to create indexer collection

Erick Tryzelaar 10 년 전
부모
커밋
8c110ad020
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.