Improve error messages by hamzahrmalik · Pull Request #97 · swift-server/RediStack

Avoid logging localizedDescription for errors which don't conform to LocalizedError

some errors might come from underlying libraries
This results is unuseful messages if those libraries don't conform their errors to LocalizedError
For example, a NIOSSL error gets logged as

The operation could not be completed. (NIOSSL.NIOSSLError error 0.)

We do not get the full underlying error

See the added test case for a further example