Commit 08f0ed14 authored by Jean-Francois Dockes's avatar Jean-Francois Dockes
Browse files

print message when query execute fails

parent 6e0cc3b8
......@@ -265,7 +265,8 @@ def recoll_initsearch(q):
try:
qs = query_to_recoll_string(q)
query.execute(qs, config['stem'], config['stemlang'])
except:
except Exception as ex:
msg("Query execute failed: %s" % ex)
pass
return query
#}}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment