Jump to content
Larry Ullman's Book Forums

Concern On My_Error_Handler


Recommended Posts

Hi Larry,

 

     First of all, thanks for the good book which really talks on what I needed.

 

     While running the example, it is noticed that during fault, all the variable has been printed on the screen, this included the database name, username, password. Would there be any better way to handle this scenario? 

 

Thanks,

Ken

Link to comment
Share on other sites

Thanks for the nice words, Ken! Glad it's been helpful. 

 

It's not clear to me why the database info is displayed on the screen when an error occurs. Using the code from the book, that shouldn't happen (and is really bad). But generally speaking, I include a live/testing flag in my configuration files that automatically handle the display of debugging information in the proper way based upon that setting.

Link to comment
Share on other sites

 Share

×
×
  • Create New...