[Backgroundrb-devel] one more suggestion for backgroundrb
Ezra Zygmuntowicz
ezmobius at gmail.com
Wed Jun 21 17:26:05 EDT 2006
On Jun 21, 2006, at 2:18 PM, dorian taylor wrote:
> this:
>
> Index: script/backgroundrb/lib/backgroundrb.rb
> ===================================================================
> --- script/backgroundrb/lib/backgroundrb.rb (revision 16)
> +++ script/backgroundrb/lib/backgroundrb.rb (working copy)
> @@ -29,7 +29,11 @@
> # the log via @logger
> def initialize(args)
> @logger = BACKGROUNDRB_LOGGER
> - Thread.new { do_work(args) }
> + begin
> + Thread.new { do_work(args) }
> + rescue Exception => e
> + @logger.error e.inspect
> + end
> end
>
> end
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>
Dorian-
Commited.. Thanks. I am all tied up doing railsconf stuff this
weekend but I will be doing a little hack fest on backgroundrb while
I'm there to get it into a little better shape. I will be moving all
code into the plugin and only using stubs in script/backgroundrb.
this will make things easier to work with and test. I appreciate your
patches and feedback.
Any feature requests for my hack fest?
Cheers-
-Ezra
More information about the Backgroundrb-devel
mailing list