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.
1 parent 122818c commit da53547Copy full SHA for da53547
index.js
@@ -35,7 +35,7 @@ function fastifyRedis (fastify, options, next) {
35
fastify.redis[namespace] = client
36
} else {
37
if (fastify.redis) {
38
- next(new Error('fastify-redis has already been registered'))
+ return next(new Error('fastify-redis has already been registered'))
39
40
if (!client) {
41
try {
0 commit comments