Skip to content

Fix deprecation: #original_exception is deprecated. Use #cause instead.

What does this MR do?

Fixes deprecations: DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from connection_error? at /builds/gitlab-org/gitlab-ee/ee/lib/gitlab/database/load_balancing/load_balancer.rb:141) DEPRECATION WARNING: #original_exception is deprecated. Use #cause instead. (called from serialization_failure? at /builds/gitlab-org/gitlab-ee/ee/lib/gitlab/database/load_balancing/load_balancer.rb:155)

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Merge request reports

Loading