fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Editor update
[redakcja.git]
/
apps
/
apiclient
/
__init__.py
diff --git
a/apps/apiclient/__init__.py
b/apps/apiclient/__init__.py
index
d44e016
..
376b66e
100644
(file)
--- 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:
elif status == '401':
raise ApiError('User not authorized for publishing.')
else:
- raise ApiError("WL API call error
"
)
+ raise ApiError("WL API call error
[code %s]" % status
)