aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-10 17:53:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-10 17:53:59 +0200
commit79cb830c94b19e987dfa7202f304a9235c378279 (patch)
tree00b971fd47d07adfb6044f92959311155d444d6f
parentd5a8c51d4010285be02f3252520300a737799872 (diff)
Add another diag example
-rw-r--r--brep/search.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/brep/search.cxx b/brep/search.cxx
index d8da134..9a0909c 100644
--- a/brep/search.cxx
+++ b/brep/search.cxx
@@ -26,7 +26,8 @@ namespace brep
throw invalid_request ("search parameters expected");
if (ps.size () > 100)
- fail << "too many parameters: " < ps.size ();
+ fail << "too many parameters: " < ps.size () <<
+ info << "are you crazy to specify so many?";
info << "handling search request from " << rq.client_ip ();