382421a9be
It appears that some legacy diff notes on GitLab.com have invalid line codes, which means truncated_diff_lines won't work. This is just a band-aid solution, as neither the diff nor the discussion will display correctly for these notes, but they won't cause a 500 error.
5 lines
119 B
YAML
5 lines
119 B
YAML
---
|
|
title: Fix 500 error when loading a merge request with an invalid comment
|
|
merge_request: 16795
|
|
author:
|
|
type: fixed
|