You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a return statement in a finally block, which would swallow any in-flight exception.
This means that if an exception other than ValueError(includingBaseException such as KeyboardInterrupt) is raised from the try body, or any exception is raised from an except: clause, it will not propagate on as expected.
Donation bot here. Supporters can mark their interest in this issue by adding a comment
starting with "+1" (without quotes) or adding the "#supporter_sponsor" keyword
(without quotes) in their comments.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In
MerossIot/meross_iot/http_api.py
Line 372 in 58de4e0
return
statement in afinally
block, which would swallow any in-flight exception.This means that if an exception other than
ValueError
(includingBaseException
such asKeyboardInterrupt
) is raised from thetry
body, or any exception is raised from anexcept
: clause, it will not propagate on as expected.See also https://docs.python.org/3/tutorial/errors.html#defining-clean-up-actions.
The text was updated successfully, but these errors were encountered: