Closed A5hleyRich closed 1 year ago
Should we include the custom error message when connections fail in this PR as well?
@tillkruss are you referring to db-error.php
?
Yes. Really what I mean is displaying a nice message when a connection error occurs.
@tillkruss this is what's shown when WP_REDIS_GRACEFUL
is false
. Links to: https://github.com/rhubarbgroup/redis-cache/blob/develop/INSTALL.md
If a db-error.php
file exists, that is shown instead. I wasn't sure if we'd want our own file, but db-error.php
is more well known so gone with that for now.
@tillkruss this is ready for review. Video of the changes:
https://user-images.githubusercontent.com/1422996/236030643-c318bf81-ac2c-4e80-a3fc-d18fea112777.mp4
Fucking amazing.
Resolves #458