Index: omega.cc
===================================================================
--- omega.cc	(revision 8036)
+++ omega.cc	(working copy)
@@ -157,7 +157,8 @@
 	}
 	enquire = new Xapian::Enquire(db);
     }
-    catch (const Xapian::Error &) {
+    catch (const Xapian::Error &e) {
+	cout << e.get_msg() << endl;
 	enquire = NULL;
     }
 
