f3009e2f9d911795bd1d13a0f95bbbee46309f83
galt
  Sun Nov 14 18:54:39 2021 -0800
Adding warn-and-continue option to hgCustom. Motivation is to support https warnings but will be useful more widely. refs #28458

diff --git src/hg/inc/customTrack.h src/hg/inc/customTrack.h
index dc0c7ae..8e1c04a 100644
--- src/hg/inc/customTrack.h
+++ src/hg/inc/customTrack.h
@@ -78,31 +78,32 @@
 #define CT_SELECTED_TABLE_VAR   "hgct_table"
 #define CT_UPDATED_TABLE_VAR    "hgct_updatedTable"
 
 struct customTrack *customTracksParseCart(char *genomeDb, struct cart *cart,
 					  struct slName **retBrowserLines,
 					  char **retCtFileName);
 /* Parse custom tracks from cart */
 
 /* Another method of creating customTracks is customFactoryParse. */
 
 struct customTrack *customTracksParseCartDetailed(char *genomeDb, struct cart *cart,
 					  struct slName **retBrowserLines,
 					  char **retCtFileName,
                                           struct customTrack **retReplacedCts,
                                           int *retNumAdded,
-                                          char **retErr);
+                                          char **retErr,
+                                          boolean *retWarnOnly);
 /* Figure out from cart variables where to get custom track text/file.
  * Parse text/file into a custom set of tracks.  Lift if necessary.
  * If retBrowserLines is non-null then it will return a list of lines
  * starting with the word "browser".  If retCtFileName is non-null then
  * it will return the custom track filename.  If any existing custom tracks
  * are replaced with new versions, they are included in replacedCts.
  *
  * If there is a syntax error in the custom track this will report the
  * error, clear the custom track from the cart,  and return NULL.  It
  * will also leak memory. */
 
 void customTracksSaveCart(char *genomeDb, struct cart *cart, struct customTrack *ctList);
 /* Save custom tracks to trash file for database in cart */
 
 void customTracksSaveFile(char *genomeDb, struct customTrack *trackList, char *fileName);