microplane icon indicating copy to clipboard operation
microplane copied to clipboard

Errors should not hide status

Open dnesting opened this issue 4 years ago • 0 comments

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'

dnesting avatar Apr 07 '22 23:04 dnesting