Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
I always make a 404 mandatory and a "Damn, something went wrong" page. Well, 403 is still possible with the requirement to log in.
The user should not, in principle, know what happened - a server or database error, or something else. So that there was no temptation to start breaking further.
And we must log ourselves and separate them by error codes in order to make changes in a timely manner.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question