pj-object-cache-red icon indicating copy to clipboard operation
pj-object-cache-red copied to clipboard

Exceptions are unhandled

Open ocean90 opened this issue 4 years ago • 1 comments

PhpRedis can throw a RedisException in case of connection issues. This may happen in the get method for example.

I suggest doing something like redis-cache does. Any thoughts on this?

ocean90 avatar Mar 26 '20 09:03 ocean90

Yes, this is a good idea; we should throw exceptions with WP_DEBUG on and silence them when off, I think.

soulseekah avatar Mar 26 '20 11:03 soulseekah