diff options
author | James Lopez <james@jameslopez.es> | 2016-07-07 09:49:46 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-07-07 09:49:46 +0200 |
commit | 91a183bc57e0fccd12d08e861bd8a37b402d81f3 (patch) | |
tree | a424a4696ce4b9b11a786bcf79c86893c0433107 /lib/gitlab/import_export/command_line_util.rb | |
parent | 400f9f72233c6c5390367a95bf11ebee09c86d2c (diff) | |
download | gitlab-ce-91a183bc57e0fccd12d08e861bd8a37b402d81f3.tar.gz |
fix log statements in import/export
Diffstat (limited to 'lib/gitlab/import_export/command_line_util.rb')
-rw-r--r-- | lib/gitlab/import_export/command_line_util.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/command_line_util.rb b/lib/gitlab/import_export/command_line_util.rb index 62c736451b7..2249904145c 100644 --- a/lib/gitlab/import_export/command_line_util.rb +++ b/lib/gitlab/import_export/command_line_util.rb @@ -29,7 +29,7 @@ module Gitlab def execute(cmd) output, status = Gitlab::Popen.popen(cmd) - @shared.error(output.to_s) unless status.zero? + @shared.error(Gitlab::ImportExport::Error.new(output.to_s)) unless status.zero? status.zero? end |