X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/73ef2b8442dc95f8b7279de812c30ac8626d5f39..b7cc868621c5c2e7976cd12c4eb0ba81da8ca87c:/apps/apiclient/__init__.py diff --git a/apps/apiclient/__init__.py b/apps/apiclient/__init__.py index d44e016d..33d20081 100644 --- a/apps/apiclient/__init__.py +++ b/apps/apiclient/__init__.py @@ -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") + raise ApiError("WL API call error %s, path: %s" % (status, path))