From: Mukund Sivaraman Date: Fri, 4 May 2012 04:25:19 +0000 (+0530) Subject: [1790] When throwing RR parameter exceptions, include the bad string as well X-Git-Tag: trac2351_base~226^2~133 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33d21231741cb9dbacfdfe3fe3a09d2919464fbc;p=thirdparty%2Fkea.git [1790] When throwing RR parameter exceptions, include the bad string as well --- diff --git a/src/lib/dns/rrparamregistry-placeholder.cc b/src/lib/dns/rrparamregistry-placeholder.cc index 62a9e34fd7..8b01e419a0 100644 --- a/src/lib/dns/rrparamregistry-placeholder.cc +++ b/src/lib/dns/rrparamregistry-placeholder.cc @@ -401,7 +401,7 @@ textToCode(const string& code_str, MS& stringmap) { return (code); } } - isc_throw(ET, "Unrecognized RR parameter string"); + isc_throw(ET, "Unrecognized RR parameter string: " + code_str); } template