Skip to content

Commit 15e0584

Browse files
authored
Merge pull request #6 from pauldevine/fix-missing-callback
add missing callback so will work with node-resque 3.0
2 parents e0c92de + 7f38e7b commit 15e0584

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/rider.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ var rider = function(options, jobs){
2424
}
2525
}
2626

27-
this.bus.connect();
27+
this.bus.connect(function(error) {
28+
if (error) {
29+
throw error;
30+
}
31+
});
2832
var self = this;
2933
this.bus.on('error', function(error){
3034
self.emit(error);

0 commit comments

Comments
 (0)