[ic] Try doesn't catch database errors within usertags

Stefan Hornburg (Racke) racke at linuxia.de
Mon Feb 7 11:34:35 UTC 2011


Hello,

I have the following code where [notes-create] is using $Db{notes}->set_slice to
create a database entry:

[try]
[notes-create ...]
[/try]

[catch error-set="notes_table" error-scratch="notes_table"]
There was an error adding the note to the notes table. It was: $ERROR$
[/catch]

set_slice dies but Interchange doesn't trigger the [catch].

Any idea why this is happening?

Regards
	Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list