In a debug statement, we are possibly referencing the member_state variable which may not be initialized if a MySQLNoMemberStateError exception is raised
Solution
Ensure that the member_state and member_state_exists variables (both logged) are always initialized if the code execution gets to the logger statement
Issue
In a debug statement, we are possibly referencing the
member_state
variable which may not be initialized if aMySQLNoMemberStateError
exception is raisedSolution
Ensure that the
member_state
andmember_state_exists
variables (both logged) are always initialized if the code execution gets to the logger statement