Commit 2b34580c authored by Alain Takoudjou's avatar Alain Takoudjou

Apply suggestion to slapos/grid/slapgrid.py

parent 036f320b
...@@ -1452,7 +1452,7 @@ stderr_logfile_backups=1 ...@@ -1452,7 +1452,7 @@ stderr_logfile_backups=1
computer_partition_list = self.getRequiredComputerPartitionList() computer_partition_list = self.getRequiredComputerPartitionList()
except slapos.slap.exception.ConnectionError: except slapos.slap.exception.ConnectionError:
# Network issue, we log exception start partitions and exit # Network issue, we log exception start partitions and exit
self.logger.error(traceback.format_exc()) self.logger.error("Ignoring network error when calling getRequiredComputerPartitionList", exc_info=True)
self._startComputerPartitionList() self._startComputerPartitionList()
self.logger.info('Finished computer partitions.') self.logger.info('Finished computer partitions.')
return SLAPGRID_FAIL return SLAPGRID_FAIL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment