A try/except block is added in the enqueue_updates method to catch any exceptions during the subscription process. These exceptions are stored in a new attribute self.error, making them accessible in the main thread.
As a result of this change, the caller should check self.error after each operation to handle any potential exceptions raised in the child thread.
A try/except block is added in the
enqueue_updates
method to catch any exceptions during the subscription process. These exceptions are stored in a new attributeself.error
, making them accessible in the main thread.As a result of this change, the caller should check
self.error
after each operation to handle any potential exceptions raised in the child thread.