Re:Browsers barely care what HTTP status code your web pages...
by SoftTalker on Friday August 11, 2023 @01:07PM
(#37091047)
Yes, the user should see the former, and the application should log the latter.
The user probably can't do anything about a null reference, so there's not a lot of benefit in providing this level of detail, and for most users it obscures the bigger point that "something went wrong."
The user probably can't do anything about a null reference, so there's not a lot of benefit in providing this level of detail, and for most users it obscures the bigger point that "something went wrong."