X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0c6c4d87dc63a4f0269866cec6725881a25891a8..e7927df2744d46e176c7114bf63f1bd8f5746168:/apps/apiclient/__init__.py?ds=inline 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))