Skip to content

Commit

Permalink
Update cache-handler.js
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob authored Aug 15, 2024
1 parent 5f085fc commit b465229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cache-handler-redis/cache-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CacheHandler.onCreation(async () => {
// because it will prevent reconnection after a socket exception.
client.on("error", (e) => {
if (typeof process.env.NEXT_PRIVATE_DEBUG_CACHE !== 'undefined') {
console.warn("Redis error", e);
console.warn("Redis error", e);
}
});
} catch (error) {
Expand Down

0 comments on commit b465229

Please sign in to comment.