chore: Improve error logging for Redis CA certificate file read failure

This commit is contained in:
Danny Avila 2025-09-18 20:24:45 -04:00
parent 5f0377b957
commit 8d8c5c46f7
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956

View file

@ -52,7 +52,7 @@ const getRedisCA = () => {
return null;
}
} catch (error) {
logger.error(`Failed to read Redis CA certificate file '${caPath}':`, error.message);
logger.error(`Failed to read Redis CA certificate file '${caPath}':`, error);
return null;
}
};