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
I have gone through the server.py and it seems that it has raised abort(404) at certain places already, couldn't find places which require error. Help required .
And I thought to add a cool looking error page 404. Have a look, we can add it to the project.
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: