From: Adam Dickmeiss Date: Wed, 25 Apr 2012 08:32:54 +0000 (+0200) Subject: Use new diagnostic for proxy failures X-Git-Tag: v1.3.33~1 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=6f5c65bac85dca97e514041d015ab10b669fac4a;p=metaproxy-moved-to-github.git Use new diagnostic for proxy failures --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 41a8aca..617144c 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -1945,8 +1945,8 @@ bool yf::Zoom::Frontend::retry(mp::Package &package, package.log("zoom", YLOG_WARN, "search failed: trying next proxy"); return true; } - error = YAZ_BIB1_INIT_AC_AUTHENTICATION_SYSTEM_ERROR; - *addinfo = odr_strdup(odr, "proxy failure"); + error = YAZ_BIB1_PROXY_FAILURE; + *addinfo = odr_strdup(odr, b->m_proxy.c_str()); } else if (same_retries == 0 && proxy_retries == 0) {