From: Adam Dickmeiss Date: Tue, 17 Jan 2006 13:54:36 +0000 (+0000) Subject: Slightly better diagnostics X-Git-Tag: YP2.0.0.2~50 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=f3de0c53e1a8f13a2c0b7c1a7a1a45cfa4a7f4e7;p=metaproxy-moved-to-github.git Slightly better diagnostics --- diff --git a/src/filter_backend_test.cpp b/src/filter_backend_test.cpp index 04ae7f2..84b4720 100644 --- a/src/filter_backend_test.cpp +++ b/src/filter_backend_test.cpp @@ -1,4 +1,4 @@ -/* $Id: filter_backend_test.cpp,v 1.14 2006-01-13 15:09:35 adam Exp $ +/* $Id: filter_backend_test.cpp,v 1.15 2006-01-17 13:54:36 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -128,15 +128,16 @@ void yf::Backend_test::process(Package &package) const else if (apdu_req->which == Z_APDU_presentRequest) { apdu_res = - odr.create_presentResponse(apdu_req, - YAZ_BIB1_TEMPORARY_SYSTEM_ERROR, - 0); + odr.create_presentResponse( + apdu_req, + YAZ_BIB1_TEMPORARY_SYSTEM_ERROR, + "backend_test: present not implemented"); } else { apdu_res = odr.create_close(apdu_req, Z_Close_protocolError, - "bad APDU in filter_backend_test"); + "backend_test: unhandled APDU"); package.session().close(); } if (apdu_res)