brianlmoon / net_gearman

A PHP interface for Gearman
84 stars 46 forks source link

Fix: call fail() on a job that throws an exception #31

Closed eschultz closed 6 years ago

eschultz commented 8 years ago

$job->fail() was never being called when an exception was thrown during $job->run() because $job is never a instanceof Net_Gearman_Job.