[Rg 57] Re: Dispatching errors to current controller

Michael Fellinger m.fellinger at gmail.com
Thu Jul 19 10:37:53 EDT 2007


> I don't understande the Dispatcher code too well, but has the controller
> thread really "died" at the time an exception is raised? Is it not
> possible to find out which controller instance that raised the exception?

The controller was never turned into a real action and rendered, where
assignment of Action.current.controller happens which
Controller.current points to.
However, i took your idea and turned it into code, it has some more
features but maintains the old functionality as well. Just pull darcs
to get it :)
Thanks for the idea though, this is a much nicer way to handle errors
per controller.

^ manveru


More information about the Ramaze-general mailing list