24a1b93cb1cb3590e987bf5c2910fed600d44a66 max Tue Sep 15 05:48:40 2026 -0700 hgc: a mistyped detailsScript setting must not take down the details page, refs #38353 The null case was covered but nothing else was. jsonParse() aborts on malformed JSON and jsonObjectVal() aborts on any value that is not an object, so a hub with "detailsScript.histogram.myField 5" in its trackDb lost the whole details page, not just that one plot. Caught now: the setting is dropped and the rest of the page is drawn. diff --git src/hg/hgc/bigBedClick.c src/hg/hgc/bigBedClick.c index 45dd8e7b564..c403b709d14 100644 --- src/hg/hgc/bigBedClick.c +++ src/hg/hgc/bigBedClick.c @@ -7,30 +7,31 @@ #include "wiggle.h" #include "cart.h" #include "hgc.h" #include "hubConnect.h" #include "hCommon.h" #include "hgColors.h" #include "bigBed.h" #include "hui.h" #include "subText.h" #include "web.h" #include "chromAlias.h" #include "quickLift.h" #include "hgConfig.h" #include "jsHelper.h" #include "jsonParse.h" +#include "errCatch.h" #include "jsonWrite.h" #include "net.h" #include "trackHub.h" static void bigGenePredLinks(char *track, char *item) /* output links to genePred driven sequence dumps */ { printf("

Links to sequence:

\n"); printf("