Feature Request
When I report an error like this in one of my steps:
stage ("Submodule Check") {
steps {
script {
error "Submodules are OK for branches but cannot be merged into main"
}
}
}
This plugin does not report that error cleanly in the check. I expect it to show the message I reported more prominently but instead it shows information about the error step itself.
For example right in the Pull Request instead of showing that error message it simply says error in 'error' step:

Other github status checkers will show the actual error message in this part of the UI instead.
Additionaly when going to the error details it has the same message prominently in a header as well as some redundant information about an Error in the error step.
(red for bad, green for good)

I feel like in the case of reporting an error via the error() step / function, the information about that step should be omitted and the error message itself should be what is reported.