Add changelog entry

This commit is contained in:
George Koltsov 2019-07-17 12:24:36 +01:00
parent 0bd54eb436
commit 3463c24d40
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,6 @@
---
title: When GitLab import fails during importer user mapping step, add an explicit
error message mentioning importer
merge_request: 30838
author:
type: other

View file

@ -51,7 +51,7 @@ module Gitlab
ProjectMember.create!(user: @user, access_level: ProjectMember::MAINTAINER, source_id: @project.id, importing: true)
rescue => e
raise e, ['Error adding importer user to project members', e.message].join('. ')
raise e, "Error adding importer user to project members. #{e.message}"
end
def add_team_member(member, existing_user = nil)