diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/set_cache.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab/set_cache.rb b/lib/gitlab/set_cache.rb index d1151a431bb..e891b805879 100644 --- a/lib/gitlab/set_cache.rb +++ b/lib/gitlab/set_cache.rb @@ -64,7 +64,9 @@ module Gitlab else redis.del(*keys) end - rescue ::Redis::CommandError + rescue ::Redis::CommandError => e + Gitlab::ErrorTracking.log_exception(e) + redis.del(*keys) end end |