Skip to content

Also print to stderr when disallowed deprecation

Thong Kuah requested to merge print_stderr_deprecation_disallowed into master

What does this MR do and why?

Also print to stderr when disallowed deprecation

Sometimes DeprecationException is rescued by application code (e.g. resue StandardError).

Related issue: #410086 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Run bundle exec rspec spec/requests/api/commit_statuses_spec.rb to see the error printed

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Thong Kuah

Merge request reports

Loading