...
 
Commits (2)
...@@ -120,7 +120,7 @@ class HttpResponse: ...@@ -120,7 +120,7 @@ class HttpResponse:
pass pass
try: try:
err_body["error-message"] = exception.__class__.__name__ + ": " + exception.message err_body["error-message"] = exception.__class__.__name__ + ": " + str(exception.message)
except AttributeError: except AttributeError:
err_body["error-message"] = exception.__class__.__name__ + ": " + str(exception) err_body["error-message"] = exception.__class__.__name__ + ": " + str(exception)
......