src/hg/hgGene/hgGene.c 1.116
1.116 2009/07/10 01:42:21 markd
use hUserAbort to prevent unneed stack track
Index: src/hg/hgGene/hgGene.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGene/hgGene.c,v
retrieving revision 1.115
retrieving revision 1.116
diff -b -B -U 4 -r1.115 -r1.116
--- src/hg/hgGene/hgGene.c 15 Jun 2009 23:47:29 -0000 1.115
+++ src/hg/hgGene/hgGene.c 10 Jul 2009 01:42:21 -0000 1.116
@@ -610,10 +610,9 @@
char *geneName = cartUsualString(cart, hggGene, NULL);
if (isEmpty(geneName))
{
// Silly googlebots.
- webDumpStackDisallow();
- errAbort("Error: the hgg_gene parameter is missing from the cart and the CGI params.");
+ hUserAbort("Error: the hgg_gene parameter is missing from the cart and the CGI params.");
}
getDbAndGenome(cart, &database, &genome, oldVars);
/* if kgProtMap2 table exists, this means we are doing KG III */