diff --git a/config/environments/development.rb b/config/environments/development.rb
index 06ab403381b00391f412c48da1e5c0f9b07a43f5..b28068a603ceeb7547e4514f14a4f2565c080095 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -24,7 +24,11 @@ Rails.application.configure do
   redis_config = YAML.safe_load(processed, permitted_classes: [], permitted_symbols: [], aliases: true)["redis_#{Rails.env}"]
   config.cache_store = QPixel::NamespacedEnvCache.new(
     ActiveSupport::Cache::RedisCacheStore.new(
-      url: "redis://#{redis_config['host']}:#{redis_config['port']}"
+      url: "redis://#{redis_config['host']}:#{redis_config['port']}",
+      inherit_socket: true,
+      error_handler: -> (method:, returning:, exception:) {
+        Rails.logger.error("Cache error: method=#{method} returning=#{returning} exception=#{exception.message}")
+      }
     )
   )