jiridanek commented on code in PR #423:
URL: https://github.com/apache/qpid-proton/pull/423#discussion_r1563849367


##########
python/proton/_handlers.py:
##########
@@ -1305,15 +1305,15 @@ def update(transport: Transport, selectable: 
Selectable, now: float) -> None:
         try:
             capacity = transport.capacity()
             selectable.reading = capacity > 0
-        except:
+        except ProtonException:
             if transport.closed:
                 selectable.terminate()
                 selectable._transport = None
                 transport._selectable = None
         try:
             pending = transport.pending()
             selectable.writing = pending > 0
-        except:
+        except ProtonException:

Review Comment:
   lgtm



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to