Skip to content

Fix type error when the file_name is not set

Vasilii Iakliushin requested to merge vi_fix_type_error into master

What does this MR do and why?

Contributes to #457524 (closed)

Sentry error: https://new-sentry.gitlab.net/organizations/gitlab/issues/38519/

Problem

TypeError exception is raised when file_name parameter is missing.

Solution

Validate that the parameter is present. Return an validation error to the user.

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 Vasilii Iakliushin

Merge request reports