in reply to (jeffa) Re: DBI error and $@
in thread DBI error and $@

That first warning is due to not turning PrintError off when turning RaiseError on (which many, including me, often neglect to do).