Log raw pre-receive message in fast-forward merge
When a pre-receive error happens in the fast-forward merge, the original
error is discarded, and only text prefaced with GL-HOOK-ERR
is passed
through. However, this makes it difficult to know what went wrong.
To fix this, we:
- Store the raw message to
Gitlab::Git::PreReceiveError
- Log an exception with the raw message
Relates to #227876
Edited by Stan Hu