I have a custom error-handler class (actually it's an exception handler)
So, when an exception is thrown, then it'll be caught and stored in the error-handler class..
After all the execution, All the errors will be shown by the class..
Is it a good or bad practice ? Does it really hurt performance ?
terryds
0
Newbie Poster
Recommended Answers
Jump to PostI totally agree with it being bad. Bad if you allow your user to see it. Errors about your script, database, config file, ando other site related settings must be keep private and must be recorded in the log file.
Jump to PostI really don't know why it has to be on the front-end. if that is the intension of the OP, IMHO , we don't tell the user if something is wrong in the back-end unless it is a user related such as 'we are conducting a maintenance at this time, …
All 6 Replies
marqusG
0
Newbie Poster
lorenzoDAlipio
24
Junior Poster in Training
veedeoo
474
Junior Poster
Featured Poster
diafol
marqusG
0
Newbie Poster
matrixdevuk
71
6t9.me Founder
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.