microplane
microplane copied to clipboard
Errors should not hide status
At least in GitLab, when an error occurs, the mp status output replaces the usual status output with the error text. This removes information useful in debugging (like the URL of the merge request).
One solution here would be to put the error message (if any) on a separate line so as to keep the status line available.
example-project pushed (merge error) status was not 'success', instead was 'failed'
Could become:
example-project pushed status:? assignee:dnesting https://gitlab.example.com/foo/example-project/-/merge_requests/123
(merge error) status was not 'success', instead was 'failed'