Skip to content

Commit e31ad80

Browse files
brubbeloroulet
authored andcommitted
cleanup
1 parent ce5e734 commit e31ad80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opcua/client/ua_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ def close_secure_channel(self):
201201
except OSError as exc:
202202
raise
203203
if exc.errno == errno.EBADF:
204+
# Socket is closed, so can't send CloseSecureChannelRequest.
204205
self.logger.warning("close_secure_channel() failed: socket already closed")
205-
pass # Socket is closed, so can't send SecureClose request.
206206
else:
207207
raise
208208

0 commit comments

Comments
 (0)