Fix NoMethodError: Projects::BlobController#update
What does this MR do and why?
Contributes to #519905 (closed)
Problem
When user doesn't have permission to push code and branch name is missing, then the server raises an Internal Error.
Solution
Handle the exception and return a regular error.
References
NoMethodError: Projects::BlobController#update ... (#519905 - closed)
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #519905 (closed)
Edited by Vasilii Iakliushin