981eeffeb0f237ff33ad262e1eff2c280b1da3ab kate Wed Nov 25 09:37:25 2020 -0800 Fix from ChrisLee code review, thanks! refs #22075 diff --git src/hg/lib/barChartUi.c src/hg/lib/barChartUi.c index 0244574..f5d3e78 100644 --- src/hg/lib/barChartUi.c +++ src/hg/lib/barChartUi.c @@ -199,31 +199,31 @@ struct lineFile *lf = NULL; // protect against network error struct errCatch *errCatch = errCatchNew(); if (errCatchStart(errCatch)) { if (isUrl(categUrl)) lf = netLineFileOpen(categUrl); else lf = lineFileMayOpen(categUrl, TRUE); } errCatchEnd(errCatch); if (errCatch->gotError) { if (isNotEmpty(errCatch->message->string)) - warn("unable to open %s track file %s: %s", + errAbort("unable to open %s track file %s: %s", track, categUrl, errCatch->message->string); } errCatchFree(&errCatch); char *line = NULL; int cols = 0; while (lineFileNextReal(lf, &line)) { char *words[2]; int wordCount = chopTabs(line, words); if (cols) { if (wordCount != cols) errAbort("barChart track %s category file %s expecting %d words, got %d", track, categUrl, cols, wordCount); }