The Toolkit for Online Communities
18052 Community Members, 0 members online, 2206 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : Obtaining the real DB error : One Message

Forum OpenACS Q&A: Re: Obtaining the real DB error

Posted by Randy O'Meara on
Thank you, Vlad. I'm assuming (without analyzing the aolserver code) that your solution would send the error on through to the aolserver ns_dberror tcl api. Is this true? Have you also created an oacs interface that makes the error available in an ad_* api call? Maybe placed within ad_conn? Could you share with me how you do this? If not, I'll dig up the info myself.

I'm amazed that there is no standardized method of dealing with DB errors programatically within oacs. I grep'd all 4.6.3 packages and there was no mention of ns_dberror anywhere.