Commit 283534f9 authored by Boxiang Sun's avatar Boxiang Sun

tyr to use repr to get the error message

parent fd18c71d
...@@ -172,7 +172,7 @@ class SoftwareRelease(SlapDocument): ...@@ -172,7 +172,7 @@ 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.encode('utf-8')) logger.info('Boxiang debug: error_log: %s', repr(error_log))
a = str(error_log) a = str(error_log)
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