Forum OpenACS Development: Re: CATCH

Collapse
3: Re: CATCH (response to 1)
Posted by Judith Pino Chial on
Hi Brad.

That means that :
...
set db [ns_db gethandle]
if { [catch { db_dml $db "SQL" } errmsg] }  {forward page_error?}

ns_db releasehandle $db
....

it's ok?