SF.net SVN: gar:[23275] csw/mgar/gar/v2/go/src/opencsw/diskformat/ diskformat.go

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Mar 25 01:03:44 CET 2014


Revision: 23275
          http://sourceforge.net/p/gar/code/23275
Author:   wahwah
Date:     2014-03-25 00:03:42 +0000 (Tue, 25 Mar 2014)
Log Message:
-----------
cat-gen: Tweaking log output

Removed one leftover debugging line, and added one meaningful message when
fetching a catalog via REST fails.

Modified Paths:
--------------
    csw/mgar/gar/v2/go/src/opencsw/diskformat/diskformat.go

Modified: csw/mgar/gar/v2/go/src/opencsw/diskformat/diskformat.go
===================================================================
--- csw/mgar/gar/v2/go/src/opencsw/diskformat/diskformat.go	2014-03-24 23:52:08 UTC (rev 23274)
+++ csw/mgar/gar/v2/go/src/opencsw/diskformat/diskformat.go	2014-03-25 00:03:42 UTC (rev 23275)
@@ -277,7 +277,7 @@
       defer wg.Done()
       catalog_with_spec, err := GetCatalogWithSpec(catspec)
       if err != nil {
-        log.Println(err)
+        log.Println("Error while retrieving the", catspec, "catalog:", err)
         ch <- fetchResult{CatalogWithSpec{}, err}
       }
       ch <- fetchResult{catalog_with_spec, nil}
@@ -809,7 +809,6 @@
   catalogs_in_db := <-catalog_ch
 
   diff_flag_by_spec := massCompareCatalogs(catalogs_in_db, catalogs_idx_on_disk)
-  log.Println(*diff_flag_by_spec)
 
   var wg sync.WaitGroup
   for _, cws := range catalogs_in_db {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list