Skip to content

Improve error messages when squashing fails

Sean McGivern requested to merge squash-errors into master

The find_merge_source method was added for CE compatibility, but 'no source for merge' is not a useful message for users. Use the actual message returned from the squash service in this case, and a custom exception to save that on the model.

Closes https://gitlab.com/gitlab-com/support-forum/issues/1568.

Merge request reports