feat: just log the error

This commit is contained in:
Nevo David 2024-03-12 00:31:22 +07:00
parent c8f51b758a
commit 3ff5f712dd
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@ const client = createClient({
url: process.env.REDIS_URL,
});
client.on('error', (error) => {
console.error(error);
});
const pubSub = client.duplicate();
@Injectable()