Commit fd18c71d authored by Boxiang Sun's avatar Boxiang Sun

tyr to encode the error message

parent b71f600a
...@@ -172,8 +172,8 @@ class SoftwareRelease(SlapDocument): ...@@ -172,8 +172,8 @@ class SoftwareRelease(SlapDocument):
# Does not follow interface # Does not follow interface
logger.info('Boxiang debug: url: %s', self.getURI()) logger.info('Boxiang debug: url: %s', self.getURI())
logger.info('Boxiang debug: computer_id: %s', self.getComputerId()) logger.info('Boxiang debug: computer_id: %s', self.getComputerId())
logger.info('Boxiang debug: error_log: %s', error_log) logger.info('Boxiang debug: error_log: %s', error_log.encode('utf-8'))
a = str(self.getURI()) a = str(error_log)
self._connection_helper.POST('softwareReleaseError', data={ self._connection_helper.POST('softwareReleaseError', data={
'url': self.getURI(), 'url': self.getURI(),
'computer_id': self.getComputerId(), 'computer_id': self.getComputerId(),
......
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