Fail gracefully when FindLicense fails
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
On for example the project page the License of the repo is shown. When the value of the license is not loaded in cache, a FindLicense request is sent to Gitaly. This request is synchronously and when it fails or is too slow the project page gives error 500. We've seen determining the license can sometimes be slow and failing the whole page on this non-crucial information is nefast.
Proposal
Gracefully fails when FindLicense fails. When the request fails, omit any LICENSE information the project page, just as it would when the license could not be found.
Edited by 🤖 GitLab Bot 🤖