We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 232f191 + 53f1468 commit c78b6d5Copy full SHA for c78b6d5
README.md
@@ -638,7 +638,7 @@ client.watch("foo", function(watchError) {
638
* If err is null, it means Redis successfully attempted
639
* the operation.
640
*/
641
- if (execError) throw err;
+ if (execError) throw execError;
642
643
/**
644
* If results === null, it means that a concurrent client
@@ -675,7 +675,7 @@ clients.watcher.watch("foo", function(watchError) {
675
676
// if you comment out the next line, the transaction will work
677
clients.modifier.set("foo", Math.random(), setError => {
678
- if (setError) throw err;
+ if (setError) throw setError;
679
});
680
681
// using a setTimeout here to ensure that the MULTI/EXEC will come after the SET.
0 commit comments