incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [6/6] git commit: [#5697] minor text updates
Date Tue, 29 Jan 2013 21:09:44 GMT
Updated Branches:
  refs/heads/master f226da829 -> 1db5fec14


[#5697] minor text updates


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/1db5fec1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/1db5fec1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/1db5fec1

Branch: refs/heads/master
Commit: 1db5fec14a525f1957a1fe7e74698f2e5859fd31
Parents: fad9e0c
Author: Dave Brondsema <dbrondsema@geek.net>
Authored: Tue Jan 29 20:36:46 2013 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Tue Jan 29 20:37:03 2013 +0000

----------------------------------------------------------------------
 Allura/allura/lib/search.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/1db5fec1/Allura/allura/lib/search.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/search.py b/Allura/allura/lib/search.py
index db0118e..d9b1b48 100644
--- a/Allura/allura/lib/search.py
+++ b/Allura/allura/lib/search.py
@@ -37,7 +37,7 @@ def search(q,short_timeout=False,ignore_errors=True,**kw):
         else:
             return g.solr.search(q, **kw)
     except (SolrError, socket.error) as e:
-        log.exception('Error in solr indexing')
+        log.exception('Error in solr search')
         if not ignore_errors:
             match = re.search(r'<pre>(.*)</pre>', str(e))
             raise SearchError('Error running search query: %s' % (match.group(1) if match
else e))
@@ -45,7 +45,7 @@ def search(q,short_timeout=False,ignore_errors=True,**kw):
 def search_artifact(atype, q, history=False, rows=10, short_timeout=False, **kw):
     """Performs SOLR search.
 
-    Raises ValueError if SOLR returns an error.
+    Raises SearchError if SOLR returns an error.
     """
     # first, grab an artifact and get the fields that it indexes
     a = atype.query.find().first()


Mime
View raw message