Commit 12a32732 authored by Boxiang Sun's avatar Boxiang Sun

golang decode debug

parent 7e61728e
...@@ -170,6 +170,10 @@ class SoftwareRelease(SlapDocument): ...@@ -170,6 +170,10 @@ 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())
self.logger.info('Boxiang debug: computer_id: %s', self.getComputerId())
self.logger.info('Boxiang debug: error_log: %s', error_log())
a = str(self.getURI())
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