We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting 500 errors when trying to check for channels, instead of 404:
2010-11-10 16:37:58,524 - HookboxRest - WARNING - REST Error: /get_channel_info Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hookbox-0.3.4dev-py2.6.egg/hookbox/api/web.py", line 29, in call return handler(form, start_response) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hookbox-0.3.4dev-py2.6.egg/hookbox/api/web.py", line 172, in render_get_channel_info info = self.api.get_channel_info(channel_name) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hookbox-0.3.4dev-py2.6.egg/hookbox/api/internal.py", line 95, in get_channel_info raise ExpectedException("Channel %s doesn't exists" % (channel_name,)) ExpectedException: Channel /my/channnnnel doesn't exists
Not exactly RESTful if it doesn't respond with the correct status codes.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am getting 500 errors when trying to check for channels, instead of 404:
2010-11-10 16:37:58,524 - HookboxRest - WARNING - REST Error: /get_channel_info
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hookbox-0.3.4dev-py2.6.egg/hookbox/api/web.py", line 29, in call
return handler(form, start_response)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hookbox-0.3.4dev-py2.6.egg/hookbox/api/web.py", line 172, in render_get_channel_info
info = self.api.get_channel_info(channel_name)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hookbox-0.3.4dev-py2.6.egg/hookbox/api/internal.py", line 95, in get_channel_info
raise ExpectedException("Channel %s doesn't exists" % (channel_name,))
ExpectedException: Channel /my/channnnnel doesn't exists
Not exactly RESTful if it doesn't respond with the correct status codes.
The text was updated successfully, but these errors were encountered: