cql_rpn: specify module for addinfo in diagnostics
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 29 Oct 2012 11:05:51 +0000 (12:05 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 29 Oct 2012 11:05:51 +0000 (12:05 +0100)
src/filter_cql_to_rpn.cpp

index aa57cad..d696124 100644 (file)
@@ -155,8 +155,8 @@ void yf::CQLtoRPN::Impl::process(mp::Package &package)
                 Z_APDU *f_apdu =
                     odr.create_searchResponse(
                         apdu_req,
-                        YAZ_BIB1_TEMPORARY_SYSTEM_ERROR,
-                        "Missing CQL to RPN configuration");
+                        YAZ_BIB1_PERMANENT_SYSTEM_ERROR,
+                        "cql_rpn: missing CQL to RPN configuration");
                 package.response() = f_apdu;
                 return;
             }