Rails errors and background processes

I have a rails application running as a background process using
plugin spawn. It works fine, but I do not get any error messages if
something goes wrong
Anyone knows how to cath error mssages in a background process?

Any help would be very much appreciated

On Fri, Oct 9, 2009 at 7:19 AM, Hans [email protected] wrote:

I have a rails application running as a background process using
plugin spawn. It works fine, but I do not get any error messages if
something goes wrong
Anyone knows how to cath error mssages in a background process?

Any help would be very much appreciated

I like to log many steps of the background process procedure to see
where it
fails. You can see log entries with this patch:
http://blog.multiplay.co.uk/2009/07/rails-spawn-in-production-mode-missing-log-entries/
http://blog.multiplay.co.uk/2009/07/rails-spawn-in-production-mode-missing-log-entries/
Greg


www.abetaday.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs