Make image_tag warn or error if image doesn't exist
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
sprite_icon logs an error if referring to an image that doesn't exist. Would be useful to also do this for image_tag.
Can do a similar check to icons (check file exists in illustrations.json), otherwise check File.exist? for files in gitlab-ce repo
From https://gitlab.com/gitlab-org/gitlab-ee/issues/8378#note_116958910
Edited by 🤖 GitLab Bot 🤖