Commit f6966d89 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Include RevList error messages in exceptions

parent 00460a9d
...@@ -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