Skip to content

Commit

Permalink
wrong err arg
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDeveloper committed Aug 29, 2014
1 parent a4f9906 commit c7d02e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/warlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = function(redis){
e.key = key;
e.ttl = ttl;
e.wait = wait;
return cb(err);
return cb(e);
}
return setTimeout(tryLock, wait);
}
Expand Down

0 comments on commit c7d02e7

Please sign in to comment.