Skip to content

Diligent handling of socket exceptions#38

Merged
HonzaMat merged 2 commits into
mainfrom
socket-exceptions
Jan 23, 2026
Merged

Diligent handling of socket exceptions#38
HonzaMat merged 2 commits into
mainfrom
socket-exceptions

Conversation

@HonzaMat
Copy link
Copy Markdown
Owner

Ensure that when a socket exception occurs in any socket call
(send, recv, settimeout):

  • the exception is properly caught and presented to the user
    as OcdConnectionError,

  • the connection to OpenOCD is closed (ocd.is_connected() becomes False).

Ensure that when a socket exception occurs in any socket call
(send, recv, settimeout):

- the exception is properly caught and presented to the user
  as OcdConnectionError,

- the connection to OpenOCD is closed (ocd.is_connected() == False).
@HonzaMat HonzaMat changed the title Dilligent handling of socket exceptions Diligent handling of socket exceptions Jan 23, 2026
@HonzaMat HonzaMat merged commit abe4c3f into main Jan 23, 2026
14 checks passed
@HonzaMat HonzaMat deleted the socket-exceptions branch March 21, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant