diff options
| author | Jacob Vosmaer <jacob@gitlab.com> | 2017-10-03 16:33:32 +0200 |
|---|---|---|
| committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-10-03 16:33:32 +0200 |
| commit | f6966d8922ab1913153259d343338e58715bd6ba (patch) | |
| tree | e8b597999de56317a7266665b334aebd81519be8 | |
| parent | 00460a9d64cea87fc5887731dc35f4750b8f356d (diff) | |
| download | gitlab-ce-capture-rev-list-errors.tar.gz | |
Include RevList error messages in exceptionscapture-rev-list-errors
| -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") |
