Example #1
0
    def _log_package_start_to_db(self):
        """Record package start to the central ApMan database log."""

        # store the returned log record so we can use it to update the database in '_log_package_end_to_db()'
        try:
            self._db_log_record = PackageLogEntry.start(self.parameters['id'], self.parameters['timeout'])
        except:
            logging.error("Cannot log package start to ApMan DB Log.")