-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
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
Raise error in proper places #123
Comments
I would like to take this issue, |
that's the basic idea. you will need to find other places in the code where this has to be done. |
ohk ... i am on it |
well, there are a few places where we are returning the string "contest inactive" or something like that. I was thinking if we could turn that into these pages it would be nice. As for the 404 page it does look cool 😍 but you'll need to accomodate ALL error codes and not just 404 since that template gets called for ALL errors |
It might be a good idea to use
abort(404, <reason>)
in some places likePyJudge/server.py
Line 89 in e3debe1
PyJudge/server.py
Line 102 in e3debe1
some places however don't require the error. For example this
PyJudge/server.py
Line 104 in e3debe1
does not require an error.
The text was updated successfully, but these errors were encountered: