Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3463c24d
Commit
3463c24d
authored
Jul 17, 2019
by
George Koltsov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add changelog entry
parent
0bd54eb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
changelogs/unreleased/georgekoltsov-64377-add-better-log-msg-to-members-mapper.yml
...rgekoltsov-64377-add-better-log-msg-to-members-mapper.yml
+6
-0
lib/gitlab/import_export/members_mapper.rb
lib/gitlab/import_export/members_mapper.rb
+1
-1
No files found.
changelogs/unreleased/georgekoltsov-64377-add-better-log-msg-to-members-mapper.yml
0 → 100644
View file @
3463c24d
---
title
:
When GitLab import fails during importer user mapping step, add an explicit
error message mentioning importer
merge_request
:
30838
author
:
type
:
other
lib/gitlab/import_export/members_mapper.rb
View file @
3463c24d
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment