fix empty message on shell error
This commit is contained in:
parent
b2b2b2f9de
commit
b2b3e0e6ee
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ module Projects
|
|||
begin
|
||||
gitlab_shell.import_repository(project.path_with_namespace, project.import_url)
|
||||
rescue Gitlab::Shell::Error => e
|
||||
raise Error, e.message
|
||||
raise Error, "Error importing repository #{project.import_url} into #{project.path_with_namespace} - #{e.message}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue