mdetail.php: Catch exception for invalid uid, add smoke test - #1635
mdetail.php: Catch exception for invalid uid, add smoke test#1635bpfoley wants to merge 1 commit into
Conversation
cpeel
left a comment
There was a problem hiding this comment.
I don't think we want this. This is a user doing something sneaky and we'd rather raise the exception and let the exception handler have it -- the production exception handler is "nicer" about this than the one on test which outputs the entire stacktrace.
And I frequently do sneaky things during testing. I did mostly mention it just in case it was worth fixing. But I do frequently change |
Yup, and that's all valid -- but our position in the past has been "users who do 'sneaky' things get exceptions" which the exception handler on PROD makes into something a little more human readable. |
No description provided.