3b070db77a829321ba062367c4860adb671ab743
braney
  Fri Oct 25 16:50:55 2024 -0700
put out a better error message if a hub-based assembly disappears.  Refs #34611

diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h
index a67a536..821eb30 100644
--- src/hg/inc/hubConnect.h
+++ src/hg/inc/hubConnect.h
@@ -174,30 +174,33 @@
 
 struct trackHub *hubConnectGetHubForDb(char *db);
 /* Return the connected hub for db, or NULL if not found.  Do not free result. */
 
 struct trackDb *hubCollectTracks( char *database, struct grp **pGroupList);
 /* Generate trackDb structures for all the tracks in attached hubs.  
  * Make grp structures for each hub. Returned group list is reversed. */
 
 char *hubConnectSkipHubPrefix(char *trackName);
 /* Given something like "hub_123_myWig" return myWig.  Don't free this, it's not allocated */
 
 struct hubConnectStatus *hubFromId(unsigned hubId);
 /* Given a hub ID number, return corresponding trackHub structure.
  * ErrAbort if there's a problem. */
 
+struct hubConnectStatus *hubFromIdNoAbort(unsigned hubId);
+/* Given a hub ID number, return corresponding trackHub structure. */
+
 struct hubConnectStatus *hubConnectNewHub();
 /* return the hub of the hubUrl we added (if any) */
 
 char *hubPublicTableName();
 /* Get the name of the table that lists public hubs.  Don't free the result. */
 
 char *hubNameFromUrl(char *hubUrl);
 /* Given the URL for a hub, return its hub_# name. */
 
 void addPublicHubsToHubStatus(struct cart *cart, struct sqlConnection *conn, char *publicTable, char  *statusTable);
 /* Add urls in the hubPublic table to the hubStatus table if they aren't there already */
 
 struct hash *buildPublicLookupHash(struct sqlConnection *conn, char *publicTable, char *statusTable,
         struct hash **pHash);
 /* Return a hash linking hub URLs to struct hubEntries.  Also make pHash point to a hash that just stores