X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/36a01feacb6dd0da10fab3c6500eadf91c2336cd..21c8ba33691b168fbc69ab7f663d1b6fb99808d9:/apps/apiclient/__init__.py?ds=sidebyside diff --git a/apps/apiclient/__init__.py b/apps/apiclient/__init__.py index e61b1bcb..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))