Publero / net_gearman

A PHP interface for Danga's Gearman
http://pear.php.net/package/Net_Gearman
BSD 2-Clause "Simplified" License
9 stars 8 forks source link

Exception error code can't be text #7

Open bartv2 opened 11 years ago

bartv2 commented 11 years ago

Creating the exception on https://github.com/Publero/net_gearman/blob/master/lib/Net/Gearman/Connection.php#L302 failes, the error code can't be text.

mhlavac commented 11 years ago

Do you have code that reproduces the problem? I would like to rewrite connection and pass it to Client and Worker to be able to test the state thah generates this error.

bartv2 commented 11 years ago

this happens when the gearman server returns an error, for example when the max queue length is exceeded when adding jobs