Skip to content
Snippets Groups Projects
Commit 4a0f720a authored by Sean McGivern's avatar Sean McGivern
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -31,7 +31,7 @@ module Gitlab
output, status = popen(args, nil, Gitlab::Git::Env.all.stringify_keys)
 
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
 
output.split("\n")
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment