Browse Source

[1790] When throwing RR parameter exceptions, include the bad string as well

Mukund Sivaraman 13 years ago
parent
commit
33d2123174
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/rrparamregistry-placeholder.cc

+ 1 - 1
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 <typename PT, typename MC>