Fix an outdated variable name being used in the diff fragment code.

Review Request #14634 — Created Oct. 14, 2025 and updated

Information

Review Board
release-7.1.x

Reviewers

We recently changed a variable from diff_info_or_response to
diff_info (02608ae) in our diff fragment code, but some of the error
handling blocks still referenced the old variable name. This change
fixes that. The commit that introduced the new variable name hasn't
shipped so we don't need to worry about backporting this.

  • Viewed an error message displayed in a diff fragment in the diff
    viewer. Before this change, that was broken.
  • Ran unit tests.
Summary ID
Fix an outdated variable name being used in the diff fragment code.
We recently changed a variable from `diff_info_or_response` to `diff_info` (02608ae) in our diff fragment code, but some of the error handling blocks still referenced the old variable name. This change fixes that.
a2158e16950e758ba99d8f96bea1181af544fb80
Checks run (2 succeeded)
flake8 passed.
JSHint passed.
david
  1. Ship It!
  2.