Upgrate fnpdjango to 0.2.
[redakcja.git] / apps / apiclient / __init__.py
index e61b1bc..33d2008 100644 (file)
@@ -46,5 +46,5 @@ def api_call(user, path, data=None):
     elif status == '401':
         raise ApiError('User not authorized for publishing.')
     else:
-        raise ApiError("WL API call error [code %s]" % status")
+        raise ApiError("WL API call error %s, path: %s" % (status, path))