I have this in a delayed job.
rescue Exception => e
BackgroundProcessStatus.update(:status => “Process failed. Error:
I am finding that if an exception ocurrs somewhere in the code which is
being called (i.e. somewhere in Account#global_import_legacy_accounts),
job just quits and does not go into my rescue clause. Am I confused that
I have something wrapped in an begin…rescue that any exception below it
should raise up to this clause, or am I just having flashbacks of how C#
handles it? Anyway, what I need is a strategy to send a message and do
something if anything goes wrong in my delayed_job.