Skip to content

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Mar 22, 2023

Also supports unsetting ssh config options.

Comment on lines 458 to 469
case 401: {
const result = await this.vscodeProposed.window.showInformationMessage(
"Your session expired...",
{
useCustom: true,
modal: true,
detail: "You must login again to access your workspace.",
},
"Login",
)
throw error
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the best way to handle this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just throws some error if there is an unauthorized response code. It shouldn't happen because we are logged in, so it's an edge case that we don't need to handle all too well?

@Emyrk Emyrk requested a review from kylecarbs March 23, 2023 20:34
@Emyrk
Copy link
Member Author

Emyrk commented Mar 28, 2023

Fixes coder/coder#6826

@Emyrk Emyrk merged commit 3dfa588 into main Mar 28, 2023
@Emyrk Emyrk deleted the stevenmasley/ssh_config_override branch March 28, 2023 14:38
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