rttlua: Catch all unhandled errors?

Dear Orocos Users,

I'm trying to debug an ops scrip that I have ported to lua. Every
time the interpreter hits an error, it is unhandled, and I am dumped
completely out of the interpreter. How can I set things up so that I
get dumped into the lua shell as soon as the intrepreter hits an
error?

In MATLAB it would be "dbstop if error", in python something like
"%pdb", or the default behaviour of cdeployer. What is it in lua?

Cheers,
Andrew