Commit 2e5d250b authored by Boxiang Sun's avatar Boxiang Sun

Use logger from parameters

parent 12a32732
...@@ -170,9 +170,9 @@ class SoftwareRelease(SlapDocument): ...@@ -170,9 +170,9 @@ class SoftwareRelease(SlapDocument):
def error(self, error_log, logger=None): def error(self, error_log, logger=None):
try: try:
# Does not follow interface # Does not follow interface
self.logger.info('Boxiang debug: url: %s', self.getURI()) logger.info('Boxiang debug: url: %s', self.getURI())
self.logger.info('Boxiang debug: computer_id: %s', self.getComputerId()) logger.info('Boxiang debug: computer_id: %s', self.getComputerId())
self.logger.info('Boxiang debug: error_log: %s', error_log()) logger.info('Boxiang debug: error_log: %s', error_log())
a = str(self.getURI()) a = str(self.getURI())
self._connection_helper.POST('softwareReleaseError', data={ self._connection_helper.POST('softwareReleaseError', data={
'url': self.getURI(), 'url': self.getURI(),
......
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