Subject: | errors in worker are not correctly passed back to the parent |
If worker method dies with an exception that isn't a plain scalar or
arrayref, things start going badly. For instance, DBIx::Class throws
exception objects. AnyEvent::Worker tries to dereference $@ as an ARRAY.
This fails and the child process dies altogether.
I submitted a pull request on github and I was hoping you could include
the fix in a new official version. Here is the commit diff:
https://github.com/brianphillips/AnyEvent-
Worker/commit/8a2550a7f5207d50e33c06ba19b8499974f1746d