Skip to content

Commit

Permalink
Better error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
do3cc committed Sep 23, 2015
1 parent 96c7d00 commit b4285d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/collective/solr/testing.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
import json
from Products.CMFCore.utils import getToolByName
from collective.solr.configlet import SolrControlPanelAdapter
from collective.solr.utils import activate
Expand Down Expand Up @@ -106,7 +105,8 @@ def setUp(self):
cwd=BUILDOUT_DIR
)
sys.stdout.write('Solr Instance could not be started !!!')
raise Exception("Unable to start solr", http_error)
raise Exception("Unable to start solr, %i %s", http_error.code,
http_error.msg)

def tearDown(self):
"""Stop Solr.
Expand Down

0 comments on commit b4285d0

Please sign in to comment.