src/hg/lib/botDelay.c 1.15

1.15 2009/07/14 21:11:48 markd
don't dump stack on bot trap
Index: src/hg/lib/botDelay.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/botDelay.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -b -B -U 4 -r1.14 -r1.15
--- src/hg/lib/botDelay.c	31 Mar 2009 22:38:57 -0000	1.14
+++ src/hg/lib/botDelay.c	14 Jul 2009 21:11:48 -0000	1.15
@@ -7,8 +7,9 @@
 #include "portable.h"
 #include "hgConfig.h"
 #include "cheapcgi.h"
 #include "hui.h"
+#include "hCommon.h"
 #include "botDelay.h"
 
 static char const rcsid[] = "$Id$";
 
@@ -49,13 +50,13 @@
 void botTerminateMessage(char *ip, int millis)
 /* Print out message saying why you are terminated. */
 {
 time_t now = time(NULL);
-errAbort("There is an exceedingly high volume of traffic coming from your "
+hUserAbort("There is an exceedingly high volume of traffic coming from your "
        "site (IP address %s) as of %s (California time).  It looks like "
        "a web robot is launching queries quickly, and not even waiting for "
        "the results of one query to finish before launching another query. "
-       "We cannot service requests from your IP address under these "
+       "/* We cannot service requests from your IP address under */ these "
        "conditions.  (code %d)", ip, asctime(localtime(&now)), millis);
 }
 
 static char *getCookieUser()