Hello and thanks for your response!
Note that the code is wrapped in a Try/Catch statement?
For brevity, I simplified the Catch portion to HandleDBError() but in fact, I have a very sophisticated error management system that includes logging to a database and emailing me extensive details...