brianlmoon / net_gearman

A PHP interface for Gearman
84 stars 46 forks source link

Need to send WORK_EXCEPTION when an exception is thrown #25

Open brianlmoon opened 10 years ago

brianlmoon commented 10 years ago

The Gearman protocol allows for WORK_EXCEPTION when a jobs fails with an exception. The Worker class currently calls Job_Common::fail with no message. That function only sends WORK_FAIL.