222992ee5c992c1ba25babcb8736eadb5ad0366c
braney
  Thu Nov 20 18:07:58 2014 -0800
when hubs disappear out from under us, put out a kindler, gentler errormessage that gives people a clue what's happened.   #14365

diff --git src/hg/inc/cart.h src/hg/inc/cart.h
index f887492..205d276 100644
--- src/hg/inc/cart.h
+++ src/hg/inc/cart.h
@@ -553,17 +553,23 @@
 /* When subtrack vis is set via findTracks, and composite has no cart settings,
    then fashion composite to match found */
 
 boolean cartTdbTreeCleanupOverrides(struct trackDb *tdb,struct cart *newCart,struct hash *oldVars, struct lm *lm);
 /* When composite/view settings changes, remove subtrack specific settings
    Returns TRUE if any cart vars are removed */
 
 void cartCopyCustomTracks(struct cart *cart);
 /* If cart contains any live custom tracks, save off a new copy of them,
  * to prevent clashes by multiple uses of the same session.  */
 
 void cgiExitTime(char *cgiName, long enteredMainTime);
 /* single stderr print out called at end of CGI binaries to record run
  * time in apache error_log */
 
+void cartHubWarn(char *format, va_list args);
+/* save up hub related warnings to put out later */
+
+void cartFlushHubWarnings();
+/* flush the hub errors (if any) */
+
 #endif /* CART_H */