-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include error message of unhandled BPMN error in log #4667
Comments
I'm interested to work on the fix. Please let me know if there are any concerns |
Hi @sowmyahl21, thank you for raising a bug report. It's awesome to hear that you want to contribute a fix. I have some questions before we commit to changing the behavior:
|
Hi @mboskamp, thanks for your inputs. Here are some more details :
|
@sowmyahl21, sounds good. I changed the issue type to feature and filled in the necessary fields. Let me know if you think I did not capture the entire feature. Thanks for contributing! |
@mboskamp, thank you! I'll definitely reach out to you in case I need some support while making this contribution. |
User Story (Required on creation)
As a Cockpit user, I want to be able to read the error message of a BPMN error in the log when the error can't be propagated due to a missing catching boundary event. This allows us to better identify the error and fix the problem in the BPMN model.
When a BPMN Error throws an exception, the associated error message is not logged along with the status code. This makes it difficult to diagnose the root cause of the error, as only the status code is logged when an exception is thrown.
We can see the same in the below-attached screenshot
Functional Requirements (Required before implementation)
When a BPMN error cannot be propagated due to a missing catching boundary event, the error message is shown in the log output (e.g., of the application server) and in Cockpit.
Technical Requirements (Required before implementation)
Adjust the log messages for logging the error and for throwing an exception for the error to include the BPMN error message.
Populate the error message from all code points that call any of the two log methods (e.g. BpmnExceptionHandler).
Test the new behavior:
Limitations of Scope
Hints
Links
Breakdown
Pull Requests
Dev2QA handover
enableExceptionsAfterUnhandledBpmnError
The text was updated successfully, but these errors were encountered: