Commit ade1e544 authored by Łukasz Nowak's avatar Łukasz Nowak

Fix issue support.

parent 2235b558
......@@ -179,7 +179,8 @@ def responseSupport(anonymous=False):
transaction.abort()
LOG('VifibRestApiV1Tool', ERROR,
'Currenty logged in user %r has no Person document.'%
self.getPortalObject().getAuthenticatedMember())
str(self.getPortalObject().portal_membership
.getAuthenticatedMember()))
self.REQUEST.response.setStatus(500)
self.REQUEST.response.setBody(jsonify({'error':
'There is system issue, please try again later.'}))
......
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