Add logging
This commit is contained in:
@@ -53,7 +53,10 @@ func runUpdate(tarballUrl string) error {
|
||||
}
|
||||
log.Info("Loaded PIS Files to Slice")
|
||||
|
||||
DEBUG_saveSliceToFile(*pisSlice, "pis_out.json")
|
||||
err = DEBUG_saveSliceToFile(*pisSlice, "/pis_out.json")
|
||||
if err != nil {
|
||||
log.Error("Error Saving PIS Data to Debug File")
|
||||
}
|
||||
/*
|
||||
err = dbAccess.DropCollection(dbAccess.PisCollection)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user