Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fail

  • Loading branch information...
commit 602b50b68d0b7a8f8fb7ffc9bad1fb162a6359b5 1 parent 29479d9
andris9 authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 gearnode.js
View
4 gearnode.js
@@ -326,6 +326,10 @@ Gearman.GearmanWorker.prototype.warning = function(warning){
this.gm.servers[this.server_name].connection.jobWarning(this.handle, warning);
}
+Gearman.GearmanWorker.prototype.fail = function(){
+ this.gm.servers[this.server_name].connection.jobFail(this.handle);
+}
+
Gearman.GearmanWorker.prototype.error = function(error){
this.gm.servers[this.server_name].connection.jobError(this.handle, error);
}
Please sign in to comment.
Something went wrong with that request. Please try again.