Add logging
All checks were successful
Go Test / test (push) Successful in 58s

This commit is contained in:
Fred Boniface 2024-11-12 12:11:46 +00:00
parent 5f57e1d267
commit 0f6f18b378

View File

@ -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 {