fix debug notice to display repr of returned object (fix crash when result is a binary string)
This commit is contained in:
parent
c7d9ef413f
commit
bf5072b73c
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ class BackendsCall(object):
|
|||
except Exception, error:
|
||||
self._store_error(backend, error)
|
||||
else:
|
||||
debug('%s: Called function %s returned: "%s"' % (backend, function, result))
|
||||
debug('%s: Called function %s returned: %r' % (backend, function, result))
|
||||
|
||||
if hasattr(result, '__iter__'):
|
||||
# Loop on iterator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue