diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-10-04 12:07:23 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-10-04 12:07:23 +0000 |
commit | 4a0f720a502ac02423cb9db20727ba386de3e1f1 (patch) | |
tree | 0834345ad6a7920de3ca55be7b21d0b1d7205e2b | |
parent | 27e18f182f7aab81fbe20e4b069e169a29c478ff (diff) | |
parent | f6966d8922ab1913153259d343338e58715bd6ba (diff) | |
download | gitlab-ce-4a0f720a502ac02423cb9db20727ba386de3e1f1.tar.gz |
Merge branch 'capture-rev-list-errors' into 'master'
Include RevList error messages in exceptions
See merge request gitlab-org/gitlab-ce!14658
-rw-r--r-- | lib/gitlab/git/rev_list.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/rev_list.rb b/lib/gitlab/git/rev_list.rb index e0943d3a3eb..92a6a672534 100644 --- a/lib/gitlab/git/rev_list.rb +++ b/lib/gitlab/git/rev_list.rb @@ -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") |