diff options
author | James Lopez <james@jameslopez.es> | 2016-05-31 11:53:50 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-06-03 04:47:39 +0300 |
commit | b2b3e0e6ee8e428322ae6aff172b59e040750ae0 (patch) | |
tree | 9c3d303cb449dce762e86f51268d1a37c2bd2bad /app/services/projects | |
parent | b2b2b2f9de1a7d96decbd1e54336ba805a059d9e (diff) |
fix empty message on shell error
Diffstat (limited to 'app/services/projects')
-rw-r--r-- | app/services/projects/import_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/import_service.rb b/app/services/projects/import_service.rb index ef15ef6a473..c4838d31f2f 100644 --- a/app/services/projects/import_service.rb +++ b/app/services/projects/import_service.rb @@ -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 |