X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/ccac52151427892364cf39322e7f8a0e18131ff5..1133074d683709532c7af9532ef3aa6b9a3be4c3:/apps/apiclient/__init__.py diff --git a/apps/apiclient/__init__.py b/apps/apiclient/__init__.py index 376b66e6..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 [code %s]" % status) + raise ApiError("WL API call error %s, path: %s" % (status, path))