Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor WorkflowInstanceObserverFactory and add error handling
The constructor of WorkflowInstanceObserverFactory class has been refactored to improve code readability and maintainability. Extra error handling has also been added to manage scenarios where the connection to the Workflow Instance Observer Hub cannot be established. A warning log is now generated in such cases, providing feedback for troubleshooting issues related to the RealTimeWorkflows feature.
- Loading branch information
1 parent
96aaa36
commit 1d526cf
Showing
1 changed file
with
21 additions
and
19 deletions.
There are no files selected for viewing
40 changes: 21 additions & 19 deletions
40
src/modules/Elsa.Studio.Workflows/Services/WorkflowInstanceObserverFactory.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters