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

Fix issue support.

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