0001-tenant_command-decode-exceptions-output-30559.patch
hobo/multitenant/management/commands/tenant_command.py | ||
---|---|---|
44 | 44 |
command.stderr.write(str(e), lambda x: x) |
45 | 45 |
else: |
46 | 46 |
command.stderr.write('%s: %s: %s' % ( |
47 |
connection.get_tenant(), e.__class__.__name__, e))
|
|
47 |
connection.get_tenant(), e.__class__.__name__, str(e).decode('utf-8')))
|
|
48 | 48 |
return e |
49 | 49 |
finally: |
50 | 50 |
try: |
51 |
- |