Unclear error message when trying to merge a commit from a user without the ECA
Summary
When a user hasn't signed the Contributor Agreement, their commits can be pushed, CI passes usually (at least in Oniro). It fails at merge with 'An error occurred while merging. Try again.'
Steps to reproduce
Create an user as guest, do not sign the ECA. Create a fork, add a commit, have it approved by commuters. Try to merge.
What is the current bug behavior?
'An error occurred while merging. Try again.'
What is the expected correct behavior?
A message like 'The user has not signed the Contributor Agreement. Merge failed.'
Relevant logs and/or screenshots
We had that in eclipse/oniro-core/oniro!335 (merged) and eclipse/oniro-core/oniro!263 (closed)
Impact
Frustrating for new developers