IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32262 for trunk/ippToPsps


Ignore:
Timestamp:
Aug 31, 2011, 4:09:19 PM (15 years ago)
Author:
rhenders
Message:

writing -1 to processed column in db when a batch fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/batch.py

    r32221 r32262  
    523523        if not self.everythingOK:
    524524            self.logger.error("Aborting this batch due to (hopefully) previously reported errors")
     525            self.ippToPspsDb.updateProcessed(self.batchID, -1)
    525526            return
    526527
     
    529530        if not self.populatePspsTables():
    530531            self.logger.errorPair("Aborting this batch", "unable to populate PSPS tables")
     532            self.ippToPspsDb.updateProcessed(self.batchID, -1)
    531533        else:
    532534            if not self.exportPspsTablesToFits():
Note: See TracChangeset for help on using the changeset viewer.