Skip to content

Propagate underlying exception in SSHAuthAbortError#133

Merged
vicajilau merged 2 commits intoTerminalStudio:masterfrom
james-thorpe:feat/propogate-SSHAuthAbortError-reason
Mar 20, 2026
Merged

Propagate underlying exception in SSHAuthAbortError#133
vicajilau merged 2 commits intoTerminalStudio:masterfrom
james-thorpe:feat/propogate-SSHAuthAbortError-reason

Conversation

@james-thorpe
Copy link
Copy Markdown
Contributor

Currently SSHAuthAbortError swallows the exception which caused the error and returns a catch-all error message which is not diagnostic. The error may not have anything to do with authentication.

This change adds an SSHAuthAbortError.reason field to propagate the underlying exception within the SSHAuthAbortError instance so we actually know what happened.

This enables users to handle different error scenarios correctly.

james-thorpe and others added 2 commits November 2, 2025 12:10
Added SSHAuthAbortError.reason field to propagate the underlying exception so we actually know what happened.

This enables users to handle different error scenarios correctly.
vicajilau added a commit that referenced this pull request Mar 20, 2026
@vicajilau vicajilau merged commit 03acd17 into TerminalStudio:master Mar 20, 2026
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.

2 participants