You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.
Problem
Piece of code in errors.py (https://github.com/GDG-Ukraine/gdg.org.ua/blob/master/src/GDGUkraine/errors.py#L92-L199) was copy-pasted from cherrypy source and uses private methods, and modules of cherrypy.
This mean that any CherryPy update may break this code.
Proposal
To avoid breaks this code should be reconsidered and refactored without relying on private methods of anything
TODO
TODO №2
copy-pasted from #66
http://docs.cherrypy.org/en/latest/pkg/cherrypy.html?highlight=error_response#custom-error-handling
https://github.com/GDG-Ukraine/gdg.org.ua/blob/api-for-admin/src/GDGUkraine/rest_controller.py#L527
https://bitbucket.org/cherrypy/cherrypy/src/da5e7fa6cb75acc0d03efcd16eb3266d790a9c6f/cherrypy/tutorial/tut10_http_errors.py?at=default&fileviewer=file-view-default#tut10_http_errors.py-57
The text was updated successfully, but these errors were encountered: