ca4a954d98dfe214fe18d1d42fc7ff80c0813878
max
  Mon Aug 13 16:54:45 2018 +0200
improving track hub error a little, no redmine

diff --git src/hg/lib/trackHub.c src/hg/lib/trackHub.c
index a6a6747..2bc2320 100644
--- src/hg/lib/trackHub.c
+++ src/hg/lib/trackHub.c
@@ -846,31 +846,31 @@
 static void markContainers( struct trackHub *hub, 
     struct trackHubGenome *genome, struct trackDb *tdbList)
 /* Mark containers that are parents, or have them. */
 {
 struct hash *hash = hashNew(0);
 struct trackDb *tdb;
 
 // add all the track names to a hash
 for (tdb = tdbList; tdb != NULL; tdb = tdb->next)
     {
     if (hashLookup(hash, tdb->track))
         errAbort("Track %s appears more than once in genome %s. " 
                 "Track identifiers have to be unique. Please check your track hub files, "
                 "especially the 'track' lines. "
                 "The most likely reason for this error is that you duplicated a "
-                "'track' identifier.", tdb->track, genome->name);
+                "'track' identifier. Hub URL: %s", tdb->track, genome->name, hub->url);
     hashAdd(hash, tdb->track, tdb);
     }
 
 // go through and find the container tracks
 for (tdb = tdbList; tdb != NULL; tdb = tdb->next)
     {
     char *parentLine = trackDbLocalSetting(tdb, "parent");
 
     // maybe it's a child of a supertrack?
     if (parentLine == NULL)
 	{
 	parentLine = trackDbLocalSetting(tdb, "superTrack");
 	if ((parentLine != NULL) && startsWith("on", parentLine))
 	    parentLine = NULL;
 	}