Commit 4a0f720a authored by Sean McGivern's avatar Sean McGivern

Merge branch 'capture-rev-list-errors' into 'master'

Include RevList error messages in exceptions

See merge request gitlab-org/gitlab-ce!14658
parents 27e18f18 f6966d89
...@@ -31,7 +31,7 @@ module Gitlab ...@@ -31,7 +31,7 @@ module Gitlab
output, status = popen(args, nil, Gitlab::Git::Env.all.stringify_keys) output, status = popen(args, nil, Gitlab::Git::Env.all.stringify_keys)
unless status.zero? unless status.zero?
raise "Got a non-zero exit code while calling out `#{args.join(' ')}`." raise "Got a non-zero exit code while calling out `#{args.join(' ')}`: #{output}"
end end
output.split("\n") output.split("\n")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment