Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly shutdown robot gateway after execution (#125)
* properly shutdown robot gateway after execution use `finally` block for cleanup actions like shutting down the gateway. This ensures that the cleanup code runs regardless of whether an exception was raised. * enable `gateway.shutdown` to log exception in case of error Need to add the `raise_exception` parameter to the `gateway.shutdown` method to allow the caller to specify if an exception should be raised in case of error. The default value is `False`. --------- Co-authored-by: Anita Caron <[email protected]> Co-authored-by: Anita Caron <[email protected]>
- Loading branch information